OSDN Git Service

RTC: sa1100: remove redundant code of setting alarm
authorJett.Zhou <jtzhou@marvell.com>
Wed, 30 Nov 2011 04:26:22 +0000 (12:26 +0800)
committerArnd Bergmann <arnd@arndb.de>
Wed, 28 Dec 2011 10:42:33 +0000 (10:42 +0000)
commit42874759d7494648e42e6e0465fc9c4f3752bba4
tree0bc18d7f9c551d13f1919c5d098e4bf4e6cdc093
parent9d2d94385327f98ea69c183bb6c1d27cac49abf0
RTC: sa1100: remove redundant code of setting alarm

In rtc generic interface of setting alarm, it will check the alarm time
value valid or not, so rtc_periodic_alarm is redundant, remove it.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/rtc/rtc-sa1100.c