]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: isl12057: let the rtc core interpret the partial alarm
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 28 Jun 2016 08:43:46 +0000 (10:43 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jul 2016 21:22:32 +0000 (23:22 +0200)
commitbea9db3d16d5558cdca02057390f9bd51a5bfc6c
tree72434d4fc4c69e11693abf0964518613eba6212a
parent56d86a7e799d3d893cb96f5b17b13de134af8de5
rtc: isl12057: let the rtc core interpret the partial alarm

The rtc chip doesn't support triggering on month and year. So just don't
assign the respective fields in .read_alarm and let the rtc core
interpret this accordingly.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-isl12057.c