]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:12 +0000 (17:13 +0530)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 28 Aug 2017 16:48:44 +0000 (18:48 +0200)
commit775621524c9aad3fcdc14049ec1ec7f40a9c0077
treea026e5d0cd989c57eb589f1a901908b6c529d5a1
parented3a0095ad88b6fafee75a2ea10df928c15868e7
power: supply: make device_attribute const

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 <bhumirks@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/olpc_battery.c