mirror of https://gitee.com/openkylin/linux.git
mfd: da9052-i2c: Fix tabbing/whitespace issue
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>
This commit is contained in:
parent
8b2775787f
commit
5b7b2ac152
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue