Commit aab5fd7a authored by Jason Yan's avatar Jason Yan Committed by Mark Brown

regulator: db8500-prcmu: Use true,false for bool variable

Fix the following coccicheck warning:

drivers/regulator/db8500-prcmu.c:184:1-17: WARNING: Assignment of 0/1 to
bool variable
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200506061726.19289-1-yanaijie@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f0ca7b24
...@@ -181,7 +181,7 @@ static int db8500_regulator_switch_disable(struct regulator_dev *rdev) ...@@ -181,7 +181,7 @@ static int db8500_regulator_switch_disable(struct regulator_dev *rdev)
goto out; goto out;
} }
info->is_enabled = 0; info->is_enabled = false;
out: out:
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment