summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8925-regulator.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-03-10 12:32:49 +0400
committerMark Brown <broonie@linaro.org>2014-03-10 13:35:35 +0400
commit15af45d1522af87bb5914e3c137b0b80bbca5931 (patch)
tree190797bfcbd0a4a1c9c750e44be3a18533cf6f1d /drivers/regulator/max8925-regulator.c
parente9fa1a3ac62d5103fe2b8b54968f5d0fe9cf7fdf (diff)
downloadlinux-15af45d1522af87bb5914e3c137b0b80bbca5931.tar.xz
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.c3
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 @@
struct max8925_regulator_info {
struct regulator_desc desc;
- struct regulator_dev *regulator;
struct i2c_client *i2c;
- struct max8925_chip *chip;
int vol_reg;
int enable_reg;
@@ -303,7 +301,6 @@ static int max8925_regulator_probe(struct platform_device *pdev)
return -EINVAL;
}
ri->i2c = chip->i2c;
- ri->chip = chip;
config.dev = &pdev->dev;
config.driver_data = ri;