Blackfin RTC driver: read_alarm() checks the enabled field, not the pending field.
authorMike Frysinger <michael.frysinger@analog.com>
Wed, 6 Feb 2008 09:38:49 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:14 +0000 (10:41 -0800)
commit68db30472df36671cc397654c42802c93ef19f19
treeacf4dee10353139203484ed18906dbc6287f8382
parent5438de442230c52d503d17943926520ee9a2eeee
Blackfin RTC driver: read_alarm() checks the enabled field, not the pending field.

also, dont bother using memcpy since we can just do an assignment of the same structure.

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-bfin.c