diff mbox series

[1/2] power: supply: bd99954: remove unused struct 'battery_data'

Message ID 20240528000634.196707-2-linux@treblig.org
State Accepted
Commit ef1f6783fe03bee6acc15ef7084ab8b64c38d769
Headers show
Series power: dead struct removal | expand

Commit Message

Dr. David Alan Gilbert May 28, 2024, 12:06 a.m. UTC
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>
---
 drivers/power/supply/bd99954-charger.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

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 */