Blackfin RTC driver: convert sync wait to use the irq write complete notice
authorMike Frysinger <michael.frysinger@analog.com>
Wed, 6 Feb 2008 09:38:51 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:14 +0000 (10:41 -0800)
commit095b9d546f8fdac335989bd3d60405ff3af40ee9
treeefe341cd8269af5ed7bfc7e8ec1a1c89a398e941
parent48c1a56b4bf936590ddbee93bf7accf703ec0411
Blackfin RTC driver: convert sync wait to use the irq write complete notice

 - thus clearing out the need for spin locks
 - add a small optimization for reading of the rtc field

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