summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds3234.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-07-30 23:41:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 02:25:18 +0200
commitaa11ec593e2c68d57728d2ebb2da265468e410c9 (patch)
tree5b942d8387160012a11e4f8641a6667d84dd0bd4 /drivers/rtc/rtc-ds3234.c
parentdrivers/rtc/rtc-ab8500.c: remove fix for AB8500 ED version (diff)
downloadlinux-aa11ec593e2c68d57728d2ebb2da265468e410c9.tar.xz
linux-aa11ec593e2c68d57728d2ebb2da265468e410c9.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-ds3234.c')
0 files changed, 0 insertions, 0 deletions