]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: sh: drop bogus assignment of tm_year in .read_alarm
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 28 Jun 2016 08:43:47 +0000 (10:43 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jul 2016 21:22:32 +0000 (23:22 +0200)
commit726a54cd307d109bb31af9b071c4fdbf51b66e5b
treef714a533f95211d7de3bcbb3f28ed27e1ca38089
parentbea9db3d16d5558cdca02057390f9bd51a5bfc6c
rtc: sh: drop bogus assignment of tm_year in .read_alarm

This rtc doesn't support triggering on years, so don't assign tm_year
instead of claiming the alarm is to trigger in year 67435.

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