From: Andrea Scian Date: Tue, 16 Jun 2015 09:35:19 +0000 (+0200) Subject: rtc: use rtc_valid_tm() error code when reading date/time X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=821f51c4da869706356ddecfeeac286bf4df9b98;p=pandora-kernel.git rtc: use rtc_valid_tm() error code when reading date/time There's a wrong comment in some RTC drivers that say it's better to ignore rtc_valid_tm() when reading RTC timestamp. However this is wrong and is better to return to the userspace the error if timestamp is not valid. Signed-off-by: Andrea Scian Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed