rtc: wm831x: remove unnecessary goto
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 22 Mar 2019 07:16:09 +0000 (08:16 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:10 +0000 (10:07 +0200)
commitd315bc1be9553be33ea5ae5df20e0b2743bca2ff
tree7bc1794d7c305a6a4fd0803a4fb546c19fa17839
parentb9a1d801a9dd2c20c4ac3a3f0f220ad589a56f88
rtc: wm831x: remove unnecessary goto

There is no specific handling in the error path of wm831x_rtc_probe, remove
the unnecessary goto and label.

Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-wm831x.c