Skip to content

Commit

Permalink
regulator: s5m8767: Fix unused variable warning in probe()
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
  • Loading branch information
Mark Brown committed Mar 11, 2012
1 parent da7de6a commit 22cd2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/s5m8767.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 22cd2fe

Please sign in to comment.