regulator: qcom_spmi: Add missing braces for aligned code
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 16 Jun 2015 18:11:22 +0000 (11:11 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 17 Jun 2015 07:54:19 +0000 (08:54 +0100)
commit9b2dfee3954e0b38a6a1b5305edd375defa8ad97
tree7ed50765931b1af90d10ed72daea9dfed61994e4
parent0f94bffad401faa045c2062f1652d21e3e89f439
regulator: qcom_spmi: Add missing braces for aligned code

drivers/regulator/qcom_spmi-regulator.c:751:3-50: code aligned
with following code on line 753
drivers/regulator/qcom_spmi-regulator.c:584:3-41: code aligned
with following code on line 587

These lines where missing braces causing the break to always
be executed even when it shouldn't be. Fix it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_spmi-regulator.c