power: supply: wm831x_power: remove unneeded break

A break is not needed if it is preceded by a goto.

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Tom Rix
2020-10-19 11:59:37 -07:00
committed by Sebastian Reichel
parent 4e586fe990
commit faa2cec667

View File

@ -668,7 +668,6 @@ static int wm831x_power_probe(struct platform_device *pdev)
fallthrough;
case -EPROBE_DEFER:
goto err_bat_irq;
break;
}
return ret;