From: Xunlei Pang Date: Fri, 12 Jun 2015 02:04:11 +0000 (+0800) Subject: rtc: isl1208: Replace deprecated rtc_tm_to_time() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~107^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f118db1efdbd224b3e0dd174a8942471eee798a0;p=pandora-kernel.git rtc: isl1208: Replace deprecated rtc_tm_to_time() isl1208_i2c_set_alarm() uses deprecated rtc_tm_to_time(), which will overflow in year 2106 on 32-bit machines. This patch solves this by: - Replacing rtc_tm_to_time() with rtc_tm_sub() Cc: Herbert Valerio Riedel Signed-off-by: Xunlei Pang Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed