
18 Jan
2016
18 Jan
'16
6:05 a.m.
On Sun, Jan 17, 2016 at 10:44 AM, Tom Rini trini@konsulko.com wrote:
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 Cc: Przemyslaw Marczak p.marczak@samsung.com Signed-off-by: Tom Rini trini@konsulko.com
drivers/power/regulator/max77686.c | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com