From: Changhwan Youn Date: Wed, 27 Oct 2010 22:33:10 +0000 (-0700) Subject: rtc: rtc-s3c: fix RTC initialization method X-Git-Tag: v2.6.37-rc1~85^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1df962e6cdc431acb6a8da409b6a7d89c4f782e;p=pandora-kernel.git rtc: rtc-s3c: fix RTC initialization method Change RTC initialization method in probe(). The 'rtc_valid_tm(tm)' can check whether RTC BCD is valid or not. And change the method of checking because the previous method cannot validate RTC BCD registers properly. Signed-off-by: Changhwan Youn Signed-off-by: Kukjin Kim Cc: Ben Dooks Cc: Wan ZongShun Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed