Skip to contentSkip to conversation

regulator: max77503: remove unused struct 'max77503_dev'

PATCH New [email protected] 1 participant 1 message May 28, 2024 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: max77503: remove unused struct 'max77503_dev'

From: "Dr. David Alan Gilbert" <[email protected]>

'max77503_dev' is unused since the original
commit a0c543bdf4ba ("regulator: max77503: Add ADI MAX77503 support").

Remove it.

---
 drivers/regulator/max77503-regulator.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/regulator/max77503-regulator.c +0 -8
index 4a6ba4dd2acd..c7c94e868fc1 100644
@@ -25,14 +25,6 @@
 #define MAX77503_AD_ENABLED			0x1
 #define MAX77503_AD_DISABLED		0x0
 
-struct max77503_dev {
-	struct device *dev;
-	struct device_node *of_node;
-	struct regulator_desc desc;
-	struct regulator_dev *rdev;
-	struct regmap *regmap;
-};
-
 static const struct regmap_config max77503_regmap_config = {
 	.reg_bits = 8,
 	.val_bits = 8,
Signature · 1 line
2.45.1