summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-28 02:06:33 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-06-03 01:29:46 +0200
commitef1f6783fe03bee6acc15ef7084ab8b64c38d769 (patch)
treed610daf009725fa10423bca2efb8d9312bdd213b /drivers/power
parentpower: supply: leds: Add activate() callback to triggers (diff)
downloadlinux-ef1f6783fe03bee6acc15ef7084ab8b64c38d769.tar.xz
linux-ef1f6783fe03bee6acc15ef7084ab8b64c38d769.zip
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/bd99954-charger.c7
1 files changed, 0 insertions, 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 */