rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime()
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 27 Oct 2010 22:33:11 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:06 +0000 (18:03 -0700)
commit5b3ffddd8ddb4712dfe14ad3e23eb5494f11bf61
tree792a806f48592acad66579db9e3b9637c15a6c54
parente1df962e6cdc431acb6a8da409b6a7d89c4f782e
rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime()

Add "rtc_valid_tm" in s3c_rtc_gettime() as per Wan ZongShun's suggestion.

Suggested-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c