Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: bd99954: remove unused struct 'battery_data'

'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>
Link: https://lore.kernel.org/r/20240528000634.196707-2-linux@treblig.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Dr. David Alan Gilbert and committed by
Sebastian Reichel
ef1f6783 8179b068

-7
-7
drivers/power/supply/bd99954-charger.c
··· 70 70 71 71 #include "bd99954-charger.h" 72 72 73 - struct battery_data { 74 - u16 precharge_current; /* Trickle-charge Current */ 75 - u16 fc_reg_voltage; /* Fast Charging Regulation Voltage */ 76 - u16 voltage_min; 77 - u16 voltage_max; 78 - }; 79 - 80 73 /* Initial field values, converted to initial register values */ 81 74 struct bd9995x_init_data { 82 75 u16 vsysreg_set; /* VSYS Regulation Setting */