]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
power: supply: Remove unused set_charged method
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 7 Mar 2025 23:02:25 +0000 (23:02 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 8 Mar 2025 00:06:41 +0000 (01:06 +0100)
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>
include/linux/power_supply.h

index 5afc5946eb03788c4b903fe08561bd117ccfd8a1..92da3deba342ae5185d55a2a680c9d8b3193cbaa 100644 (file)
@@ -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.