mfd: da9052-i2c: Fix tabbing/whitespace issue
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 16:51:11 +0000 (16:51 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:44:03 +0000 (08:44 +0000)
WARNING: suspect code indent for conditional statements (8, 24)
+       if (!i2c_safe_reg(reg))
+                       return regmap_read(da9052->regmap,

total: 0 errors, 1 warnings, 226 lines checked

Cc: Support Opensource <support.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9052-i2c.c

index 2697ffb08009b48c3803dbfc9263b309f13ff444..578e881067a5861a11da58cad29452c2b9a6be96 100644 (file)
@@ -70,7 +70,7 @@ static int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg)
        case DA9053_BA:
        case DA9053_BB:
                /* A dummy read to a safe register address. */
-       if (!i2c_safe_reg(reg))
+               if (!i2c_safe_reg(reg))
                        return regmap_read(da9052->regmap,
                                           DA9052_PARK_REGISTER,
                                           &val);