]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
power: supply: ds2781: switch to devm_power_supply_register
authorSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 29 Sep 2018 06:47:43 +0000 (08:47 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 12 Dec 2018 23:16:56 +0000 (00:16 +0100)
commitfbd17e58d472d7ec49810c6cd87900d73e75bb2b
tree349215a996dc6917ad8bde983d29650a7b3ad299
parent63fac6cb63b06eb1ee471d7d62a1c2e8cf72bdf0
power: supply: ds2781: 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/ds2781_battery.c