commit | ac18eb622f4d8cdd544222e56230db850259cd37 | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Tue Dec 15 16:46:02 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 16 07:19:59 2009 -0800 |
tree | 1eea601a9f0f4bbe79d6e0a993cff484238c3da0 | |
parent | 618161f71cb10ff9bfe74c9bd766faf339f98274 [diff] |
rtc-ds1742: fix races around device registration * Call dev_set_drvdata before rtc device creation * 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>