aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s5m8767.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 06:34:36 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-11 16:48:39 -0400
commit22cd2fefba7bddd31dad892f5923854defac0da2 (patch)
treeaaa3c2b976fb8fdce091baff4849482d1434715d /drivers/regulator/s5m8767.c
parentda7de6a161d280736f399a378e43ea9e6861bd04 (diff)
regulator: s5m8767: Fix unused variable warning in probe()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r--drivers/regulator/s5m8767.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 5b00e5ac70cd..2fb2adddd482 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers/regulator/s5m8767.c
@@ -569,7 +569,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
569 struct regulator_dev **rdev; 569 struct regulator_dev **rdev;
570 struct s5m8767_info *s5m8767; 570 struct s5m8767_info *s5m8767;
571 struct i2c_client *i2c; 571 struct i2c_client *i2c;
572 int i, ret, size, reg; 572 int i, ret, size;
573 573
574 if (!pdata) { 574 if (!pdata) {
575 dev_err(pdev->dev.parent, "Platform data not supplied\n"); 575 dev_err(pdev->dev.parent, "Platform data not supplied\n");