drivers/rtc/rtc-max8925.c: fix max8925_rtc_read_alarm() return value error
authorKevin Liu <kliu5@marvell.com>
Fri, 23 Mar 2012 22:02:35 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:39 +0000 (16:58 -0700)
commit0cf30bdd919685b201f715ea347dd96d590942e8
tree24874c977ee5af2de3cf49362456cdd806e1531a
parentaa19689bfaaa26f2d85588a8774e194de5e7be54
drivers/rtc/rtc-max8925.c: fix max8925_rtc_read_alarm() return value error

max8925_rtc_read_alarm should always return 0 with success

Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.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-max8925.c