]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9898682b60faf427e831c8046c336edf9f2a62f0
tree7bc1794d7c305a6a4fd0803a4fb546c19fa17839
parent63dca9bf5d652eb409f821829db2535ecb30647f
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