[U-Boot] drivers/power/regulator/max77686.c: Don't use switch() on bools
Tom Rini
trini at konsulko.com
Tue Jan 19 19:08:42 CET 2016
On Sun, Jan 17, 2016 at 02:44:37AM +0000, Tom Rini 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 at chromium.org>
> Cc: Przemyslaw Marczak <p.marczak at samsung.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Przemyslaw Marczak <p.marczak at samsung.com>
Reworded the subject and applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160119/da783e1f/attachment.sig>
More information about the U-Boot
mailing list