From: Colin Ian King <colin.king@canonical.com>
Date: Tue, 12 Feb 2019 13:46:16 +0000 (+0000)
Subject: regulator: max77802-regulator: fix indentation in if statement
X-Git-Tag: v5.1-rc1~182^2^2~60
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c79fba835ca8a5affe3564a7a2b4f90bbcdfde36;p=users%2Fdwmw2%2Flinux.git

regulator: max77802-regulator: fix indentation in if statement

There are several lines in an if statement that are not indented
correctly. Fix these by removing the tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---

diff --git a/drivers/regulator/max77802-regulator.c b/drivers/regulator/max77802-regulator.c
index c30cf5c9f2de3..ea7b503973003 100644
--- a/drivers/regulator/max77802-regulator.c
+++ b/drivers/regulator/max77802-regulator.c
@@ -248,9 +248,9 @@ static int max77802_set_ramp_delay_2bit(struct regulator_dev *rdev,
 	unsigned int ramp_value;
 
 	if (id > MAX77802_BUCK4) {
-			dev_warn(&rdev->dev,
-				 "%s: regulator: ramp delay not supported\n",
-				 rdev->desc->name);
+		dev_warn(&rdev->dev,
+			 "%s: regulator: ramp delay not supported\n",
+			 rdev->desc->name);
 		return -EINVAL;
 	}
 	ramp_value = max77802_find_ramp_value(rdev, ramp_table_77802_2bit,