Atsushi Nemoto 618161f71c rtc-ds1553: fix races around device registration
* Call dev_set_drvdata before rtc device creation
* Use its own spinlock instead of rtc->irq_lock
* Check pdata->rtc before calling rtc_update_irq
* Use {alarm,update}_irq_enable and remove ioctl routine
* Use devres APIs and simplify error/remove path

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:19:59 -08:00
..
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:34 -08:00
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-02 01:13:11 -08:00
2009-12-15 09:33:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00