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: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200506061726.19289-1-yanaijie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jason Yan 2020-05-06 14:17:26 +08:00 committed by Mark Brown
parent f0ca7b249c
commit aab5fd7a1b
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }