diff options
| author | Atsushi Nemoto <[email protected]> | 2009-12-15 16:46:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:19:59 -0800 |
| commit | 618161f71cb10ff9bfe74c9bd766faf339f98274 (patch) | |
| tree | a5c9c77aa4359d023f3c4cd3ebdc2c7b5cc3bf8b /include/linux/debugobjects.h | |
| parent | af69a180e0675ce95842adb519079204ee5647ea (diff) | |
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 <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions