From: Douglas Anderson Date: Fri, 10 Aug 2018 20:05:31 +0000 (-0700) Subject: regulator: qcom-rpmh: Add stylistic breaks in the default cases X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=beb5a17fa32ed9b3b44be23dda9caf92c01e8200;p=linux.git regulator: qcom-rpmh: Add stylistic breaks in the default cases No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson Reviewed-by: David Collins Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 301e7f6953742..39ccf53fdeb38 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -504,6 +504,7 @@ static unsigned int rpmh_regulator_pmic4_ldo_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode; @@ -537,6 +538,7 @@ rpmh_regulator_pmic4_smps_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode; @@ -566,6 +568,7 @@ static unsigned int rpmh_regulator_pmic4_bob_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode;