]> asedeno.scripts.mit.edu Git - linux.git/commit
power: supply: ds2780: switch to devm_power_supply_register
authorSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 29 Sep 2018 06:01:12 +0000 (08:01 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 12 Dec 2018 23:16:47 +0000 (00:16 +0100)
commit63fac6cb63b06eb1ee471d7d62a1c2e8cf72bdf0
tree4c3e4541b641efb05594d865f1d366cfe738eb81
parent711aebcfe3ba6bfe70f9fe9041f568552affd8b7
power: supply: ds2780: switch to devm_power_supply_register

Simplify/Cleanup the driver by switching to devm_power_supply_register
and dropping the driver's remove function.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ds2780_battery.c