]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt()
authorNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Thu, 8 Jul 2021 05:13:04 +0000 (14:13 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 10 Jul 2021 00:41:52 +0000 (02:41 +0200)
commit858dbdc0675e050d916ab77cdca1e36ab1c3771e
treea9858840f5fff931dd5122b8a7bfb8054b31c10f
parent71a42c370aee3a1109b9da21e0a6d30961cc4dd7
rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt()

s5m_check_peding_alarm_interrupt() in s5m_rtc_read_alarm() gets the return
value, but doesn't use it.
This modifies using the s5m_check_peding_alarm_interrupt()"s return value
as the s5m_rtc_read_alarm()'s return value.

Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210708051304.341278-1-nobuhiro1.iwamatsu@toshiba.co.jp
drivers/rtc/rtc-s5m.c