]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: lp87565: Fix missing break in switch statement
authorColin Ian King <colin.king@canonical.com>
Thu, 27 Jun 2019 13:16:39 +0000 (14:16 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 10:41:23 +0000 (11:41 +0100)
commitfc93b121e6b70836af65d5640a35cf6f02aafd73
tree00915b434c55d877c80b8d81be32d2c8d81871c8
parentc935b4e9c6942314c6ca6f58ce3cb31847ed2414
regulator: lp87565: Fix missing break in switch statement

Currently the LP87565_DEVICE_TYPE_LP87561_Q1 case does not have a
break statement, causing it to fall through to a dev_err message.
Fix this by adding in the missing break statement.

Addresses-Coverity: ("Missing break in switch")
Fixes: c935b4e9c694 ("regulator: lp87565: Add 4-phase lp87561 regulator support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/lp87565-regulator.c