Uwe Kleine-König 05731b9794 rtc/mc13783: fix use after free bug
This was introduced by v2.6.34-rc1~38:

	4c014e8 (rtc/mc13783: protect rtc {,un}registration by mc13783 lock)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-24 16:31:19 -07:00
..
2010-03-06 11:26:47 -08:00
2010-03-07 22:17:16 +01:00
2010-03-07 22:17:16 +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-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2010-02-02 18:11:21 -08:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2010-03-07 22:17:16 +01:00
2009-12-16 07:19:59 -08:00
2010-03-06 11:26:46 -08: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
2009-12-16 07:20:00 -08:00