Skip to content

Commit 4236b12

Browse files
Dr. David Alan Gilbertbroonie
authored andcommitted
regulator: max77503: remove unused struct 'max77503_dev'
'max77503_dev' is unused since the original commit a0c543b ("regulator: max77503: Add ADI MAX77503 support"). Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://msgid.link/r/20240528174659.53022-1-linux@treblig.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 7a14767 commit 4236b12

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/regulator/max77503-regulator.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@
2525
#define MAX77503_AD_ENABLED 0x1
2626
#define MAX77503_AD_DISABLED 0x0
2727

28-
struct max77503_dev {
29-
struct device *dev;
30-
struct device_node *of_node;
31-
struct regulator_desc desc;
32-
struct regulator_dev *rdev;
33-
struct regmap *regmap;
34-
};
35-
3628
static const struct regmap_config max77503_regmap_config = {
3729
.reg_bits = 8,
3830
.val_bits = 8,

0 commit comments

Comments
 (0)