diff options
author | Tom Rini <trini@konsulko.com> | 2016-01-17 02:44:37 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-19 13:32:00 (GMT) |
commit | 6d6aececfeb3eb96304e073b910681c7e12b66ca (patch) | |
tree | acfd3df59909943b0f8cbcb7b1865dd4a044bc04 /arch/x86/cpu/quark/quark.c | |
parent | 22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46 (diff) | |
download | u-boot-6d6aececfeb3eb96304e073b910681c7e12b66ca.tar.xz |
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 <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'arch/x86/cpu/quark/quark.c')
0 files changed, 0 insertions, 0 deletions