Skip to content

Commit

Permalink
regulator: qcom-rpmh: Add stylistic breaks in the default cases
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Douglas Anderson authored and Mark Brown committed Aug 28, 2018
1 parent 7e4d968 commit beb5a17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/regulator/qcom-rpmh-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -537,6 +538,7 @@ rpmh_regulator_pmic4_smps_of_map_mode(unsigned int rpmh_mode)
break;
default:
mode = REGULATOR_MODE_INVALID;
break;
}

return mode;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit beb5a17

Please sign in to comment.