OSDN Git Service

power: supply: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 17 Jul 2018 21:28:46 +0000 (16:28 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Sun, 22 Jul 2018 22:10:47 +0000 (00:10 +0200)
commit37bab356f86b85f3bba85d3c82323a01255902bc
tree740fabe90bd06c52de4202a8f67801f52d520e3b
parent9c7272412bc556f6af2a89e0f1660dacb44e3b1d
power: supply: mark expected switch fall-throughs

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

Addresses-Coverity-ID: 1394724 ("Missing break in switch")
Addresses-Coverity-ID: 114958 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/axp20x_usb_power.c
drivers/power/supply/cros_usbpd-charger.c
drivers/power/supply/wm8350_power.c