]> git.baikalelectronics.ru Git - kernel.git/commit
power: max8925: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 4 Oct 2018 13:56:36 +0000 (15:56 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 21 Oct 2018 19:33:35 +0000 (21:33 +0200)
commitb90c73aa6457327f352f92d88955b48b6554db57
tree13f9c3aabb2ca356f129c8b18d3cd7fbbe280605
parent3e63d4be242fb21c1c643a3e251cce2f974fbe1c
power: max8925: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 201510 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max8925_power.c