]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:03:12 +0000 (20:03 +0200)
commit9110c667345433703bd2da767dd55dca505ff262
tree68d2cd125ac2d5289f8d8b12ae899756714ace74
parente074b08ebd99c01be1a1108554eb489c7a44f9e8
rtc: mc146818-lib: change return values of mc146818_get_time()

[ Upstream commit d35786b3a28dee20b12962ae2dd365892a99ed1a ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-mc146818-lib.c