commit | e6cf0aae7f64b630c933b3380d9261724de8e076 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Sun Jan 17 02:44:37 2016 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 19 08:32:00 2016 -0500 |
tree | acfd3df59909943b0f8cbcb7b1865dd4a044bc04 | |
parent | 7ccac29b3c1cbc567db155d1486f610ded9482c0 [diff] |
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>