Message ID | 20240528000634.196707-1-linux@treblig.org |
---|---|
Headers | show |
Series | power: dead struct removal | expand |
On 5/28/24 03:06, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > 'battery_data' is unused since the original > commit 0902f8366491 ("power: supply: Support ROHM bd99954 charger"). > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> Thanks! > --- > drivers/power/supply/bd99954-charger.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/power/supply/bd99954-charger.c b/drivers/power/supply/bd99954-charger.c > index 1ed1d9f99fb3..54bf88262510 100644 > --- a/drivers/power/supply/bd99954-charger.c > +++ b/drivers/power/supply/bd99954-charger.c > @@ -70,13 +70,6 @@ > > #include "bd99954-charger.h" > > -struct battery_data { > - u16 precharge_current; /* Trickle-charge Current */ > - u16 fc_reg_voltage; /* Fast Charging Regulation Voltage */ > - u16 voltage_min; > - u16 voltage_max; > -}; > - > /* Initial field values, converted to initial register values */ > struct bd9995x_init_data { > u16 vsysreg_set; /* VSYS Regulation Setting */
On Tue, 28 May 2024 01:06:32 +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > A couple of dead struct removals in drivers/power > > Build tested. > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > [...] Applied, thanks! [1/2] power: supply: bd99954: remove unused struct 'battery_data' commit: ef1f6783fe03bee6acc15ef7084ab8b64c38d769 [2/2] power: supply: ab8500: remove unused struct 'inst_curr_result_list' commit: a5dd84f3bde0252cb39a3ecebbe71d7c2b405194 Best regards,