From: Dr. David Alan Gilbert Date: Fri, 7 Mar 2025 23:02:25 +0000 (+0000) Subject: power: supply: Remove unused set_charged method X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=68b6cf4020726a8be4fa4462e12b16c7fcf8487d;p=users%2Fjedix%2Flinux-maple.git 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 Link: https://lore.kernel.org/r/20250307230225.128775-4-linux@treblig.org Signed-off-by: Sebastian Reichel --- diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 5afc5946eb037..92da3deba342a 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.