From: Xunlei Pang Date: Fri, 12 Jun 2015 02:04:10 +0000 (+0800) Subject: rtc: Introduce rtc_tm_sub() helper function X-Git-Tag: omap-for-v4.3/legacy-v2-signed~136^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9200025724619d83f9fc366281f0bde36afe6e5a;p=pandora-kernel.git 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 Signed-off-by: Xunlei Pang Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed