]> 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)
commit9f5f05d7f5031a2fa0cf8ac37da2093938ff1daa
tree7bc1794d7c305a6a4fd0803a4fb546c19fa17839
parentf5eef65d11bf4cfc69dd2f219e63fc36a47fa3fe
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