summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-03-08 02:02:25 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-03-08 03:06:41 +0300
commit68b6cf4020726a8be4fa4462e12b16c7fcf8487d (patch)
tree0b50c5cc868b88df6a795ecec190631b5d248855
parent172b7d79f79629300e7a6d16bc7e743b11e5ff2c (diff)
downloadlinux-68b6cf4020726a8be4fa4462e12b16c7fcf8487d.tar.xz
power: supply: Remove unused set_charged method
The previous patches in this series removed the only caller and only setter of this method. Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://lore.kernel.org/r/20250307230225.128775-4-linux@treblig.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--include/linux/power_supply.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 5afc5946eb03..92da3deba342 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -274,7 +274,6 @@ struct power_supply_desc {
int (*property_is_writeable)(struct power_supply *psy,
enum power_supply_property psp);
void (*external_power_changed)(struct power_supply *psy);
- void (*set_charged)(struct power_supply *psy);
/*
* Set if thermal zone should not be created for this power supply.