]> Git Repo - u-boot.git/commit
power: regulator: max77686: Don't use switch() on bools
authorTom Rini <[email protected]>
Sun, 17 Jan 2016 02:44:37 +0000 (02:44 +0000)
committerTom Rini <[email protected]>
Tue, 19 Jan 2016 13:32:00 +0000 (08:32 -0500)
commit6d6aececfeb3eb96304e073b910681c7e12b66ca
treeacfd3df59909943b0f8cbcb7b1865dd4a044bc04
parent22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46
power: regulator: max77686: Don't use switch() on bools

With gcc-5.3 we get a warning for using switch() on a bool type.
Rewrite these sections as if/else and update the one section that was
using 1/0 instead of true/false.

Cc: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Acked-by: Przemyslaw Marczak <[email protected]>
drivers/power/regulator/max77686.c
This page took 0.036006 seconds and 4 git commands to generate.