David Brownell e109ebd1ee [PATCH] rtc_cmos oops fix
Fix an oops on the rtc_device_unregister() path by waiting until the last
moment before nulling the rtc->ops vector.  Fix some potential oopses by
having the rtc_class_open()/rtc_class_close() interface increase the RTC's
reference count while an RTC handle is available outside the RTC framework.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-01 14:53:37 -08:00
..
2007-03-01 14:53:37 -08:00
2006-03-27 08:44:51 -08:00
2007-03-01 14:53:37 -08:00
2007-02-20 17:10:15 -08:00
2007-02-20 17:10:15 -08:00
2006-10-04 08:15:14 -07:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:31 -08:00