rtc: mc146818-lib: change return values of mc146818_get_time()
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Fri, 10 Dec 2021 20:01:24 +0000 (21:01 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 16 Dec 2021 20:50:06 +0000 (21:50 +0100)
commitd35786b3a28dee20b12962ae2dd365892a99ed1a
tree108c1a7c50d2850b8338a91ac798e4a16b0daf10
parent454f47ff464325223129b9b5b8d0b61946ec704d
rtc: mc146818-lib: change return values of mc146818_get_time()

No function is checking mc146818_get_time() return values yet, so
correct them to make them more customary.

Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211210200131.153887-3-mat.jonczyk@o2.pl
drivers/rtc/rtc-mc146818-lib.c