linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] power: supply: set_charged deadcode
@ 2025-03-07 23:02 linux
  2025-03-07 23:02 ` [PATCH 1/3] power: supply: core: Remove unused power_supply_set_battery_charged linux
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: linux @ 2025-03-07 23:02 UTC (permalink / raw)
  To: sre, linux-pm; +Cc: linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

Hi,
  This series removes power_supply_set_battery_charged()
which hasn't been called for a while, and then goes to clean up
the set_charged() method which it was the only caller of.
  The only setter of it was the ds2760, which I'm not too sure
is used any more, but I've left the device in.

Dave

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>


Dr. David Alan Gilbert (3):
  power: supply: core: Remove unused power_supply_set_battery_charged
  power: supply: ds2760: Remove unused ds2760_battery_set_charged
  power: supply: Remove unused set_charged method

 drivers/power/supply/ds2760_battery.c    | 49 ------------------------
 drivers/power/supply/power_supply_core.c | 13 -------
 include/linux/power_supply.h             |  2 -
 3 files changed, 64 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-08  0:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 23:02 [PATCH 0/3] power: supply: set_charged deadcode linux
2025-03-07 23:02 ` [PATCH 1/3] power: supply: core: Remove unused power_supply_set_battery_charged linux
2025-03-07 23:02 ` [PATCH 2/3] power: supply: ds2760: Remove unused ds2760_battery_set_charged linux
2025-03-07 23:02 ` [PATCH 3/3] power: supply: Remove unused set_charged method linux
2025-03-08  0:14 ` [PATCH 0/3] power: supply: set_charged deadcode Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).