Home
last modified time | relevance | path

Searched hist:"6 d6aececfeb3eb96304e073b910681c7e12b66ca" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dmax77686.c6d6aececfeb3eb96304e073b910681c7e12b66ca Sun Jan 17 02:44:37 UTC 2016 Tom Rini <trini@konsulko.com> 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>