hwmon: (corsair-cpro) Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:36:04 +0000 (12:36 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:50:23 +0000 (19:50 -0500)
commit3752445d79ee73fc2cb08c35c82890b2ef5c9757
treec596bb6604b8b188814d36dd8dd418c82720ac0d
parent5ef73b6e652107bbdcf65d10a477cfc027ee9090
hwmon: (corsair-cpro) Fix fall-through warnings for Clang

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

Link: https://github.com/KSPP/linux/issues/115
Acked-by: Guenter Roeck <linux@roeck-us.net>
Marius Zachmann <mail@mariuszachmann.de>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/hwmon/corsair-cpro.c