Re: [PATCH 6/6] power: supply: make device_attribute const

2017-08-29 Thread Sebastian Reichel
Hi, On Mon, Aug 21, 2017 at 05:13:12PM +0530, Bhumika Goyal wrote: > Make these const as they are only passed as an argument to the > function device_create_file and device_remove_file and the corresponding > arguments are of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal

[PATCH 6/6] power: supply: make device_attribute const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only passed as an argument to the function device_create_file and device_remove_file and the corresponding arguments are of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/power/supply/olpc_battery.c | 2 +- 1 file