Commit aeedfe7f authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Alexandre Belloni
Browse files

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: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191217121231.2698817-2-iwamatsu@nigauri.org


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent de050566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -465,7 +465,7 @@ static int rx8010_probe(struct i2c_client *client,

	rx8010->rtc->max_user_freq = 1;

	return err;
	return 0;
}

static struct i2c_driver rx8010_driver = {