regulator: as3722: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:33:08 +0000 (12:33 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 23 Nov 2020 18:46:31 +0000 (18:46 +0000)
commitb52b417ccac4fae5b1f2ec4f1d46eb91e4493dc5
tree91eb42bfe99f21b37987075c60368659e92791e7
parentce10f6ca9654410a66c81a3a68e680feca6b59d2
regulator: as3722: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a fallthrough pseudo-keyword instead of letting the
code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/c0efb81064f71837f19408f65b52d155103ee514.1605896059.git.gustavoars@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/as3722-regulator.c