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

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
This commit is contained in:
Mark Brown 2012-02-06 11:34:36 +00:00
parent da7de6a161
commit 22cd2fefba

View File

@ -569,7 +569,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
struct regulator_dev **rdev;
struct s5m8767_info *s5m8767;
struct i2c_client *i2c;
int i, ret, size, reg;
int i, ret, size;
if (!pdata) {
dev_err(pdev->dev.parent, "Platform data not supplied\n");