diff options
| author | Axel Lin <axel.lin@ingics.com> | 2014-04-15 07:47:38 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-04-18 10:47:39 -0400 |
| commit | 073a77d03ee88ae3a5504b3f73632841a55d60a1 (patch) | |
| tree | d71b7b42bf5045257cb310f075616661ff993ffd /include/linux/mfd | |
| parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
regulator: tps65217: Remove *rdev[] from struct tps65217
Now this driver uses devm_regulator_register() so we don't need to save rdev
pointer to tps->rdev[i] for cleanup.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/tps65217.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 | ||
