未验证 提交 beb5a17f 编写于 作者: D Douglas Anderson 提交者: Mark Brown

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: NDouglas Anderson <dianders@chromium.org>
Reviewed-by: NDavid Collins <collinsd@codeaurora.org>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 7e4d9683
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册