Commit 22cd2fef authored by Mark Brown's avatar Mark Brown

regulator: s5m8767: Fix unused variable warning in probe()

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarSangbeom Kim <sbkim73@samsung.com>
parent da7de6a1
...@@ -569,7 +569,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev) ...@@ -569,7 +569,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
struct regulator_dev **rdev; struct regulator_dev **rdev;
struct s5m8767_info *s5m8767; struct s5m8767_info *s5m8767;
struct i2c_client *i2c; struct i2c_client *i2c;
int i, ret, size, reg; int i, ret, size;
if (!pdata) { if (!pdata) {
dev_err(pdev->dev.parent, "Platform data not supplied\n"); dev_err(pdev->dev.parent, "Platform data not supplied\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment