Skip to content
Commit 14dc3ec5 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 52f0e7bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment