Devendra Naga aa11ec593e drivers/rtc/rtc-r9701.c: avoid second call to rtc_valid_tm()
r9701_get_datetime() calls rtc_valid_tm() and returns the value returned
by rtc_valid_tm(), which can be used in the `if', so calling
rtc_valid_tm() a second time is not required.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Andreas Dumberger <andreas.dumberger@tqs.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-30 17:25:18 -07:00
..
2012-07-26 11:25:33 -07:00
2012-07-22 13:36:52 -07:00
2012-07-23 16:31:31 -07:00
2012-07-26 20:29:52 -07:00
2012-07-26 13:56:38 -07:00
2012-07-24 22:43:04 -07:00
2012-07-15 17:33:17 +01:00
2012-07-24 16:24:11 -07:00
2012-07-30 17:25:16 -07:00
2012-07-30 17:25:16 -07:00
2012-07-26 20:29:52 -07:00
2012-07-09 16:42:24 -04:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 14:05:46 -07:00
2012-07-26 11:25:33 -07:00
2012-07-24 18:11:22 -07:00
2012-07-26 12:57:41 -07:00
2012-07-26 11:25:33 -07:00
2012-07-24 16:17:07 -07:00