]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd8c135269e86584703c2150e996699041fb81aa
tree13c28223b8d9b4b314139265edfeca8e0714b467
parent5cdadfee16237b27ec6d8142b42446c1fe37c919
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