diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-05-28 18:46:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-29 11:24:22 +0100 |
commit | 4236b12c8731e97ab9336590a9bd4a6cb72c7dd4 (patch) | |
tree | 992df83a618972a6ac3946561b4c34208303fbed /drivers/regulator | |
parent | 7a147670035ddec35f3fb2ace538ad56ad82c861 (diff) | |
download | linux-4236b12c8731e97ab9336590a9bd4a6cb72c7dd4.tar.gz linux-4236b12c8731e97ab9336590a9bd4a6cb72c7dd4.tar.bz2 linux-4236b12c8731e97ab9336590a9bd4a6cb72c7dd4.zip |
regulator: max77503: remove unused struct 'max77503_dev'
'max77503_dev' is unused since the original
commit a0c543bdf4ba ("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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/max77503-regulator.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/regulator/max77503-regulator.c b/drivers/regulator/max77503-regulator.c index 4a6ba4dd2acd..c7c94e868fc1 100644 --- a/drivers/regulator/max77503-regulator.c +++ b/drivers/regulator/max77503-regulator.c @@ -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, |