summaryrefslogtreecommitdiff
path: root/drivers/regulator/qcom-rpmh-regulator.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2018-08-10 23:05:31 +0300
committerMark Brown <broonie@kernel.org>2018-08-28 23:19:36 +0300
commitbeb5a17fa32ed9b3b44be23dda9caf92c01e8200 (patch)
treece8db3a33d3127fee5ae19c52e60b0aee9f5aa8e /drivers/regulator/qcom-rpmh-regulator.c
parent7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed (diff)
downloadlinux-beb5a17fa32ed9b3b44be23dda9caf92c01e8200.tar.xz
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 <dianders@chromium.org> Reviewed-by: David Collins <collinsd@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/qcom-rpmh-regulator.c')
-rw-r--r--drivers/regulator/qcom-rpmh-regulator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c
index 301e7f695374..39ccf53fdeb3 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;