mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
7e4d9683d6
commit
beb5a17fa3
@ -504,6 +504,7 @@ static unsigned int rpmh_regulator_pmic4_ldo_of_map_mode(unsigned int rpmh_mode)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mode = REGULATOR_MODE_INVALID;
|
mode = REGULATOR_MODE_INVALID;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
@ -537,6 +538,7 @@ rpmh_regulator_pmic4_smps_of_map_mode(unsigned int rpmh_mode)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mode = REGULATOR_MODE_INVALID;
|
mode = REGULATOR_MODE_INVALID;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
@ -566,6 +568,7 @@ static unsigned int rpmh_regulator_pmic4_bob_of_map_mode(unsigned int rpmh_mode)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mode = REGULATOR_MODE_INVALID;
|
mode = REGULATOR_MODE_INVALID;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
|
Loading…
Reference in New Issue
Block a user