commit | 14dc3ec5203ced2000ef157f147944233309c850 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu May 17 22:53:26 2018 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu May 17 22:55:17 2018 +0200 |
tree | c380ae7b31040b0ea72f90925bc694d018501952 | |
parent | 52f0e7bc19fb1397aa9d29f87415f94d39bb8b01 [diff] |
rtc: ls1x: remove useless label and goto The error handling in ls1x_rtc_probe used to release resources but since it is using devm functions, it only returns a value. Make the code clearer by returning directly instead of using goto. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>