aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-12 13:25:38 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-16 07:22:06 -0400
commitbcffe53fcb96efe326a909dece5f32e1dd8eaa6a (patch)
tree8e02be2d66d79ce2d50d9d5d4cefee6f8e9f40e7 /drivers/regulator
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info
The *dev and *mfd of struct rc5t583_regulator_info are not used after convert to use regmap, remove them. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/rc5t583-regulator.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/rc5t583-regulator.c b/drivers/regulator/rc5t583-regulator.c
index 9e6f78694bf1..5885b4504596 100644
--- a/drivers/regulator/rc5t583-regulator.c
+++ b/drivers/regulator/rc5t583-regulator.c
@@ -49,10 +49,6 @@ struct rc5t583_regulator_info {
49 49
50struct rc5t583_regulator { 50struct rc5t583_regulator {
51 struct rc5t583_regulator_info *reg_info; 51 struct rc5t583_regulator_info *reg_info;
52
53 /* Devices */
54 struct device *dev;
55 struct rc5t583 *mfd;
56 struct regulator_dev *rdev; 52 struct regulator_dev *rdev;
57}; 53};
58 54
@@ -155,8 +151,6 @@ static int rc5t583_regulator_probe(struct platform_device *pdev)
155 reg = &regs[id]; 151 reg = &regs[id];
156 ri = &rc5t583_reg_info[id]; 152 ri = &rc5t583_reg_info[id];
157 reg->reg_info = ri; 153 reg->reg_info = ri;
158 reg->mfd = rc5t583;
159 reg->dev = &pdev->dev;
160 154
161 if (ri->deepsleep_id == RC5T583_DS_NONE) 155 if (ri->deepsleep_id == RC5T583_DS_NONE)
162 goto skip_ext_pwr_config; 156 goto skip_ext_pwr_config;