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-14 00:26:08 +01:00
2009-09-17 09:47:24 +02:00
2009-09-23 07:39:46 -07:00
2009-02-11 14:25:36 -08:00
2009-09-23 07:39:45 -07:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2009-07-06 13:57:03 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00
2009-09-23 07:39:43 -07:00
2008-10-20 08:52:41 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:45 -07:00
2009-04-02 01:05:32 +00:00
2009-12-15 08:53:25 -08:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2009-12-15 08:53:25 -08:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-12-14 00:26:08 +01:00
2009-11-12 07:25:58 -08:00