summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp8788-buck.c
diff options
context:
space:
mode:
authorKim, Milo2013-01-03 07:32:03 +0100
committerMark Brown2013-01-03 12:28:53 +0100
commit1ef01e74e78ce445af168a18c6a196642e25e23b (patch)
treea6f64e533953a27e6fc042a8ab3c19cae2f36aa7 /drivers/regulator/lp8788-buck.c
parentlp8788-buck: fix a parent device on devm_gpio_request() (diff)
downloadkernel-qcow2-linux-1ef01e74e78ce445af168a18c6a196642e25e23b.tar.gz
kernel-qcow2-linux-1ef01e74e78ce445af168a18c6a196642e25e23b.tar.xz
kernel-qcow2-linux-1ef01e74e78ce445af168a18c6a196642e25e23b.zip
lp8788-buck: fix a for-loop coding style
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>
Diffstat (limited to 'drivers/regulator/lp8788-buck.c')
-rw-r--r--drivers/regulator/lp8788-buck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c
index 98770e8b2e54..11619493a5cb 100644
--- a/drivers/regulator/lp8788-buck.c
+++ b/drivers/regulator/lp8788-buck.c
@@ -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]);