rtc/nuc900: make returning time checking function valid
authorWan ZongShun <mcuos.com@gmail.com>
Wed, 11 Aug 2010 01:02:18 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:08 +0000 (08:59 -0700)
commit84f20a6928bb2b8e5f7ab50686bdf1566479363a
tree13c28223b8d9b4b314139265edfeca8e0714b467
parent52142ed416f85dcc3e2061e720511a1e69ac3d93
rtc/nuc900: make returning time checking function valid

Make returning time checking function valid.  In spite of using the
'rtc_valid_tm', nevertheless, the read time function omits its returning
value, that means the 'rtc_valid_tm' is useless here.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
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-nuc900.c