drivers/rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:31 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:27 +0000 (08:18 +0200)
commit482494a8d395877c4776a3d76f89342d7ad7c4c6
treeb508bd4362911f1c7e4e1dd1b78dfc1f6bd96843
parent0307b0d77a0830b0fd4a22b5db4a9fa723a5fa5f
drivers/rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time

rtc_class_ops's set_alarm() shouldn't deal with the alarm date,
as this is handled in the rtc core.

See rtc_dev_ioctl()'s RTC_ALM_SET and RTC_WKALM_SET cases.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-12-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/rtc/rtc-mxc.c