Commits
![Xunlei Pang](https://secure.gravatar.com/avatar/aa5a9290d8e2b44a446bd541e9162284.jpg?s=96&d=mm)
Xunlei Pang committed 92000257246
rtc: Introduce rtc_tm_sub() helper function There're many sites need comparing the two rtc_time variants for many rtc drivers, especially in the instances of rtc_class_ops::set_alarm(). So add this common helper function to make things easy. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>