rtc-parisc: use rtc_valid_tm() in parisc_get_time
authordann frazier <dannf@hp.com>
Tue, 31 Mar 2009 22:24:52 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:24 +0000 (08:59 -0700)
commitf62bacd4d48a1a6b8931a0140fb2324a06dd89fe
treee6c9f437975d2ec96eeebb503ce66fabec0cf1ee
parent6b318f66dca829a72c974083cc10fd5556eec6f1
rtc-parisc: use rtc_valid_tm() in parisc_get_time

Use the return value of rtc_valid_tm() instead of just returning 0.

Signed-off-by: dann frazier <dannf@hp.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-parisc.c