regulator: tps65910: Add missing breaks in switch/case
Subsystems (2)
PATCH 1/1 regulator: tps65910: Add missing breaks in switch/case
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/tps65910-regulator.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/regulator/tps65910-regulator.c +2 -0
@@ -898,9 +898,11 @@ static __devinit int tps65910_probe(struct platform_device *pdev)case TPS65910 : pmic->get_ctrl_reg = &tps65910_get_ctrl_register; info = tps65910_regs; +break ;case TPS65911 : pmic->get_ctrl_reg = &tps65911_get_ctrl_register; info = tps65911_regs; +break ;default :pr_err ("Invalid tps chip version\n" );return -ENODEV ;
Signature · 1 line
1.7.4.1