Skip to content

Commit

Permalink
lp8788-buck: fix a for-loop coding style
Browse files Browse the repository at this point in the history
Remove space before semicolon in for-loop.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Kim, Milo authored and Mark Brown committed Jan 3, 2013
1 parent 38d8f67 commit 1ef01e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/lp8788-buck.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ static int lp8788_dvs_gpio_request(struct platform_device *pdev,
buck->dvs = pdata->buck1_dvs;
break;
case BUCK2:
for (i = 0 ; i < LP8788_NUM_BUCK2_DVS ; i++) {
for (i = 0; i < LP8788_NUM_BUCK2_DVS; i++) {
gpio = pdata->buck2_dvs->gpio[i];
ret = devm_gpio_request_one(&pdev->dev, gpio,
DVS_LOW, b2_name[i]);
Expand Down

0 comments on commit 1ef01e7

Please sign in to comment.