rtc: simplify implementations of read_alarm
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 28 Jun 2016 08:43:45 +0000 (10:43 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 9 Jul 2016 08:24:45 +0000 (10:24 +0200)
commit56d86a7e799d3d893cb96f5b17b13de134af8de5
tree2e88564cc608cc35a0d41fafdce4b8a3af06e54c
parente29385fab0bf94017fac130ee32f5bb2daf74417
rtc: simplify implementations of read_alarm

Since commit d68778b80dd7 ("rtc: initialize output parameter for read
alarm to "uninitialized"") there is no need to explicitly set
unsupported members to -1. So drop the respective assignments from
drivers.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
16 files changed:
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-ds1305.c
drivers/rtc/rtc-ds1307.c
drivers/rtc/rtc-ds1343.c
drivers/rtc/rtc-ds1685.c
drivers/rtc/rtc-ds3232.c
drivers/rtc/rtc-hym8563.c
drivers/rtc/rtc-m41t80.c
drivers/rtc/rtc-mrst.c
drivers/rtc/rtc-pcf8563.c
drivers/rtc/rtc-rs5c372.c
drivers/rtc/rtc-rv8803.c
drivers/rtc/rtc-rx8010.c
drivers/rtc/rtc-rx8025.c
drivers/rtc/rtc-s3c.c
drivers/rtc/rtc-tegra.c
This page took 0.029396 seconds and 5 git commands to generate.