power: supply: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 19:50:47 +0000 (14:50 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 19:50:47 +0000 (14:50 -0500)
commitb51883d47d37c3f3fa80d6bcd8cc3a57d5b95130
tree0580686a5ff4834693450fa5447708f19e316041
parentd6a48a476a5de8bdfbdd6040aa5a48955fc49e44
power: supply: Fix fall-through warnings for Clang

Fix the following fallthrough warnings:

drivers/power/supply/ab8500_fg.c:1730:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
drivers/power/supply/abx500_chargalg.c:1155:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/power/supply/ab8500_fg.c
drivers/power/supply/abx500_chargalg.c