power: supply: olpc_battery: Have the framework register sysfs files for us
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 18 Apr 2019 14:46:55 +0000 (16:46 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 18 Apr 2019 19:55:04 +0000 (21:55 +0200)
commit31e220877981d0005d0c4a76f68027a73131212b
treefeba5802d9b9d745339bf54178ea8cf634b94fc0
parent76311b9a329554f592e1ddfe8d8f94feb6e0e663
power: supply: olpc_battery: Have the framework register sysfs files for us

The power framework gained ability to register groups of sysfs
attributes in commit cef8fe6a382c ("power: supply: core: add support for
custom sysfs attributes").

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Suggested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/olpc_battery.c