diff options
-rw-r--r-- | drivers/regulator/tps65217-regulator.c | 3 | ||||
-rw-r--r-- | include/linux/mfd/tps65217.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index 10b78d2b766a..8482f6ba08a1 100644 --- a/drivers/regulator/tps65217-regulator.c +++ b/drivers/regulator/tps65217-regulator.c | |||
@@ -257,9 +257,6 @@ static int tps65217_regulator_probe(struct platform_device *pdev) | |||
257 | pdev->name); | 257 | pdev->name); |
258 | return PTR_ERR(rdev); | 258 | return PTR_ERR(rdev); |
259 | } | 259 | } |
260 | |||
261 | /* Save regulator for cleanup */ | ||
262 | tps->rdev[i] = rdev; | ||
263 | } | 260 | } |
264 | return 0; | 261 | return 0; |
265 | } | 262 | } |
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h index 54b5458ec084..95d6938737fd 100644 --- a/include/linux/mfd/tps65217.h +++ b/include/linux/mfd/tps65217.h | |||
@@ -254,7 +254,6 @@ struct tps65217 { | |||
254 | struct tps65217_board *pdata; | 254 | struct tps65217_board *pdata; |
255 | unsigned long id; | 255 | unsigned long id; |
256 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; | 256 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; |
257 | struct regulator_dev *rdev[TPS65217_NUM_REGULATOR]; | ||
258 | struct regmap *regmap; | 257 | struct regmap *regmap; |
259 | }; | 258 | }; |
260 | 259 | ||