* Use its own spinlock instead of rtc->irq_lock
commit495f0c4cbf8be186c245fd76688558e4475ce566
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 12 Oct 2009 23:22:54 +0000 (13 01:22 +0200)
committerjames toy <toyj@union.edu>
Mon, 12 Oct 2009 23:22:54 +0000 (13 01:22 +0200)
tree64e5e1573c8cb31c935c50c95337ccb29264bf0b
parentaeab7aa3994cd21a9da8ded3e07cd7f4b34810c1
* Use its own spinlock instead of rtc->irq_lock
* Check pdata->rtc before calling rtc_update_irq
* Disable interrupt after rtc_device_unregister

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-tx4939.c