aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-06-12 12:03:02 +0000
committerAlexandre Belloni <[email protected]>2018-06-20 10:43:11 +0000
commitca95ef7c98674a8eb5d411fc0835783051c0662b (patch)
treeb2d03687874328d3d9a8fa3716b1d5207b76da10 /drivers/rtc/interface.c
parentLinux 4.18-rc1 (diff)
downloadkernel-ca95ef7c98674a8eb5d411fc0835783051c0662b.tar.gz
kernel-ca95ef7c98674a8eb5d411fc0835783051c0662b.zip
rtc: mrst: fix error code in probe()
We should be returning "retval". The "mrst_rtc.rtc" variable is a valid pointer. Fixes: 32b41f93dcaf ("rtc: mrst: switch to devm functions") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions