]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: ds2760: Remove unused ds2760_battery_set_charged
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 7 Mar 2025 23:02:24 +0000 (23:02 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 8 Mar 2025 00:06:41 +0000 (01:06 +0100)
commit172b7d79f79629300e7a6d16bc7e743b11e5ff2c
treeda201df3988878f0ee1c68d9fa19c14dd517f0d7
parent46723e2839a543859a754b0e6b6f88fa71038b09
power: supply: ds2760: Remove unused ds2760_battery_set_charged

With power_supply_set_battery_charged() deleted in the previous
patch, there's no one left to call the set_charged method.
The only implemented is in ds2760, unwire it and delete the
associated functions and data.

(Arguably it might be time to delete ds2760 since I don't
think there are any users left)

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20250307230225.128775-3-linux@treblig.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ds2760_battery.c