power: supply: olpc_battery: Move priv data to a struct
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 18 Apr 2019 14:46:51 +0000 (16:46 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 18 Apr 2019 19:52:57 +0000 (21:52 +0200)
commit33554d818a9562f47ba0de3edb35346ccf7c8c1b
treed89540275baeb0d8ae5b761ca5c9f116780f48e3
parentf7a228eaf4f8aa54c223a763d80bed5dcb072499
power: supply: olpc_battery: Move priv data to a struct

The global variables for private data are not too nice. I'd like some
more, and that would clutter the global name space even further.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/olpc_battery.c