diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-03-07 10:02:12 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-11 20:48:53 +0000 |
commit | 535bca2037ce89349cb5ed80ab3ab6d0c0ef1938 (patch) | |
tree | 3a0c5859a874c6b0b427032b0e244c8b64b36eb5 /drivers/regulator/s5m8767.c | |
parent | 2fe4e0259dfd6d66f2a094b5109f11f8d253e764 (diff) | |
download | op-kernel-dev-535bca2037ce89349cb5ed80ab3ab6d0c0ef1938.zip op-kernel-dev-535bca2037ce89349cb5ed80ab3ab6d0c0ef1938.tar.gz |
regulator: Remove unused i2c variable in s5m8767_pmic_probe
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r-- | drivers/regulator/s5m8767.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 9b97aa3..e369d9e 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c @@ -542,7 +542,6 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev) struct s5m_platform_data *pdata = dev_get_platdata(iodev->dev); struct regulator_dev **rdev; struct s5m8767_info *s5m8767; - struct i2c_client *i2c; int i, ret, size; if (!pdata) { @@ -565,7 +564,6 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev) s5m8767->iodev = iodev; s5m8767->num_regulators = S5M8767_REG_MAX - 2; platform_set_drvdata(pdev, s5m8767); - i2c = s5m8767->iodev->i2c; s5m8767->buck_gpioindex = pdata->buck_default_idx; s5m8767->buck2_gpiodvs = pdata->buck2_gpiodvs; |