drivers/rtc/rtc-max77686.c: Fix wrong register
authorSangjung Woo <sangjung.woo@samsung.com>
Wed, 11 Sep 2013 21:24:21 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:56 +0000 (15:58 -0700)
commit1748cbf7f7c464593232cde914f5a103181a83b5
treea198168838145bd0773307efb25ffcb6e5a0a6e3
parent7707bda3ee4aa4415090755c22e5a9c03fc530dc
drivers/rtc/rtc-max77686.c: Fix wrong register

Fix a read of the wrong register when checking whether the RTC timer has
reached the alarm time.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Signed-off-by: Myugnjoo Ham <myungjoo.ham@samsung.com>
Reviewed-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max77686.c