aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-03-11 14:01:24 -0500
committerMark Brown <broonie@kernel.org>2017-03-13 12:46:47 -0400
commit5339c34f3906b34ddcd8c9614232ae1302d30c7b (patch)
treedab27a7b6f31ad9ddab8f237b5b53aebe07a7b76
parent8a05eb190238d44a101a7db9addddbe74be0968e (diff)
regulator: s2mpa01: Fix inconsistent indenting
Broken indenting makes code more difficult to read and brings confusion. Fix warning reported by Smatch: s2mpa01.c:362 s2mpa01_pmic_probe() warn: inconsistent indenting Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/s2mpa01.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/regulator/s2mpa01.c b/drivers/regulator/s2mpa01.c
index dc2105c619a6..8ac50bc9d5ff 100644
--- a/drivers/regulator/s2mpa01.c
+++ b/drivers/regulator/s2mpa01.c
@@ -357,11 +357,11 @@ static int s2mpa01_pmic_probe(struct platform_device *pdev)
357 if (iodev->dev->of_node) { 357 if (iodev->dev->of_node) {
358 reg_np = of_get_child_by_name(iodev->dev->of_node, 358 reg_np = of_get_child_by_name(iodev->dev->of_node,
359 "regulators"); 359 "regulators");
360 if (!reg_np) { 360 if (!reg_np) {
361 dev_err(&pdev->dev, 361 dev_err(&pdev->dev,
362 "could not find regulators sub-node\n"); 362 "could not find regulators sub-node\n");
363 return -EINVAL; 363 return -EINVAL;
364 } 364 }
365 365
366 of_regulator_match(&pdev->dev, reg_np, rdata, 366 of_regulator_match(&pdev->dev, reg_np, rdata,
367 S2MPA01_REGULATOR_MAX); 367 S2MPA01_REGULATOR_MAX);