From: Mark Brown Date: Mon, 6 Feb 2012 11:34:36 +0000 (+0000) Subject: regulator: s5m8767: Fix unused variable warning in probe() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22cd2fefba7bddd31dad892f5923854defac0da2;p=linux-beck.git regulator: s5m8767: Fix unused variable warning in probe() Signed-off-by: Mark Brown Acked-by: Sangbeom Kim --- 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) 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");