rtc: rx8010: Fix return code for rx8010_probe
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 17 Dec 2019 12:12:31 +0000 (21:12 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Dec 2019 10:16:23 +0000 (11:16 +0100)
commitaeedfe7f89bc9b2248bfd509ffcd0c2bcb2614c3
tree7eda23adeff5b51bd1b19d7efc7c373e95ae4007
parentde0505660f6b3cb3f5438be32397b63f5da87454
rtc: rx8010: Fix return code for rx8010_probe

In the current code, the return value of devm_request_threaded_irq may be
returned. This fixes it.

CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
CC: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191217121231.2698817-2-iwamatsu@nigauri.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rx8010.c