aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8907-regulator.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-04 14:52:34 +0200
committerMark Brown <broonie@kernel.org>2018-10-04 15:02:19 +0100
commit4b03227a65dc7aa8c0c1f8f6b3726225ae529e47 (patch)
tree71512d0a5e9056f58a1dfb42daaa4153ab1518de /drivers/regulator/max8907-regulator.c
parentregulator: fixed: Default enable high on DT regulators (diff)
downloadlinux-dev-4b03227a65dc7aa8c0c1f8f6b3726225ae529e47.tar.xz
linux-dev-4b03227a65dc7aa8c0c1f8f6b3726225ae529e47.zip
regulator: axp20x: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I moved the whole comment "Fall through to the check below.", which contains the "Fall through" comment, at the bottom of the case, which is what GCC is expecting to find. Addresses-Coverity-ID: 1436594 ("Missing break in switch") Addresses-Coverity-ID: 1364475 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max8907-regulator.c')
0 files changed, 0 insertions, 0 deletions