diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-10 04:32:49 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-10 05:35:35 -0400 |
commit | 15af45d1522af87bb5914e3c137b0b80bbca5931 (patch) | |
tree | 190797bfcbd0a4a1c9c750e44be3a18533cf6f1d /drivers/regulator/max8925-regulator.c | |
parent | e9fa1a3ac62d5103fe2b8b54968f5d0fe9cf7fdf (diff) |
regulator: max8925: Remove unused state container fields
Remove fields from 'struct max8925_regulator' which are not used
anywhere in the driver.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
-rw-r--r-- | drivers/regulator/max8925-regulator.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index 9c859ed4131b..e316abae004a 100644 --- a/drivers/regulator/max8925-regulator.c +++ b/drivers/regulator/max8925-regulator.c | |||
@@ -36,9 +36,7 @@ | |||
36 | 36 | ||
37 | struct max8925_regulator_info { | 37 | struct max8925_regulator_info { |
38 | struct regulator_desc desc; | 38 | struct regulator_desc desc; |
39 | struct regulator_dev *regulator; | ||
40 | struct i2c_client *i2c; | 39 | struct i2c_client *i2c; |
41 | struct max8925_chip *chip; | ||
42 | 40 | ||
43 | int vol_reg; | 41 | int vol_reg; |
44 | int enable_reg; | 42 | int enable_reg; |
@@ -303,7 +301,6 @@ static int max8925_regulator_probe(struct platform_device *pdev) | |||
303 | return -EINVAL; | 301 | return -EINVAL; |
304 | } | 302 | } |
305 | ri->i2c = chip->i2c; | 303 | ri->i2c = chip->i2c; |
306 | ri->chip = chip; | ||
307 | 304 | ||
308 | config.dev = &pdev->dev; | 305 | config.dev = &pdev->dev; |
309 | config.driver_data = ri; | 306 | config.driver_data = ri; |