[U-Boot] [PATCH] rtc: rx8010sj: fix DM initialization

28 Oct
2019
28 Oct
'19
7:49 p.m.
pass the udevice by reference instead of double ref
Signed-off-by: Robert Beckett bob.beckett@collabora.com ---
drivers/rtc/rx8010sj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index 81560e16ce..2876692a37 100644 --- a/drivers/rtc/rx8010sj.c +++ b/drivers/rtc/rx8010sj.c @@ -349,7 +349,7 @@ void rtc_init(void)
static int rx8010sj_probe(struct udevice *dev) { - rx8010sj_rtc_init(&dev); + rx8010sj_rtc_init(dev);
return 0; }
--
2.20.1

28 Dec
28 Dec
11:48 a.m.
pass the udevice by reference instead of double ref Signed-off-by: Robert Beckett bob.beckett@collabora.com
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
1958
Age (days ago)
2019
Last active (days ago)
1 comments
2 participants
participants (2)
-
Robert Beckett
-
sbabic@denx.de