diff options
-rw-r--r-- | drivers/regulator/max8973-regulator.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c index 79f57fef0038..dbedf1768db0 100644 --- a/drivers/regulator/max8973-regulator.c +++ b/drivers/regulator/max8973-regulator.c | |||
@@ -93,7 +93,6 @@ | |||
93 | struct max8973_chip { | 93 | struct max8973_chip { |
94 | struct device *dev; | 94 | struct device *dev; |
95 | struct regulator_desc desc; | 95 | struct regulator_desc desc; |
96 | struct regulator_dev *rdev; | ||
97 | struct regmap *regmap; | 96 | struct regmap *regmap; |
98 | bool enable_external_control; | 97 | bool enable_external_control; |
99 | int dvs_gpio; | 98 | int dvs_gpio; |
@@ -472,7 +471,6 @@ static int max8973_probe(struct i2c_client *client, | |||
472 | return ret; | 471 | return ret; |
473 | } | 472 | } |
474 | 473 | ||
475 | max->rdev = rdev; | ||
476 | return 0; | 474 | return 0; |
477 | } | 475 | } |
478 | 476 | ||