Andrew Morton
5abe257af8
revert "rtc: recycle id when unloading a rtc driver"
...
Revert commit 2830a6d20139df2198d63235df7957712adb28e5.
We already perform the ida_simple_remove() in rtc_device_release(),
which is an appropriate place. Commit 2830a6d20 ("rtc: recycle id when
unloading a rtc driver") caused the kernel to emit
ida_remove called for id=0 which is not allocated.
warnings when rtc_device_release() tries to release an alread-released
ID.
Let's restore things to their previous state and then work out why
Vincent's kernel wasn't calling rtc_device_release() - presumably a bug
in a specific sub-driver.
Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Alexander Holler <holler@ahsoftware.de>
Cc: Vincent Palatin <vpalatin@chromium.org>
Cc: <stable@vger.kernel.org> [3.7.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-20 17:40:20 -08:00
..
2012-12-20 17:40:20 -08:00
2012-10-06 03:05:04 +09:00
2012-08-08 20:49:16 +02:00
2012-12-17 17:15:21 -08:00
2012-12-17 17:15:21 -08:00
2012-07-31 18:42:50 -07:00
2012-10-02 11:43:13 +02:00
2010-09-22 17:22:39 -07:00
2012-09-20 12:32:34 +02:00
2011-06-10 14:55:36 +02:00
2012-11-06 20:30:52 +08:00
2012-11-06 20:30:52 +08:00
2012-11-06 20:29:33 +08:00
2009-02-11 14:25:36 -08:00
2012-01-10 16:30:53 -08:00
2012-03-23 16:58:39 -07:00
2012-01-10 16:30:53 -08:00
2012-08-08 20:49:16 +02:00
2012-10-06 03:05:04 +09:00
2012-07-30 17:25:18 -07:00
2012-12-17 17:15:21 -08:00
2012-12-17 17:15:21 -08:00
2012-12-17 17:15:21 -08:00
2012-01-10 16:30:53 -08:00
2010-03-30 22:02:32 +09:00
2012-01-10 16:30:53 -08:00
2010-10-29 19:06:53 +09:00
2012-03-23 16:58:39 -07:00
2012-05-29 16:22:33 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:05 +09:00
2012-01-10 16:30:53 -08:00
2012-10-06 03:05:01 +09:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-04-12 13:12:12 -07:00
2012-10-06 03:05:07 +09:00
2012-05-29 16:22:33 -07:00
2012-03-23 16:58:39 -07:00
2009-04-02 01:05:31 +00:00
2012-12-20 17:40:19 -08:00
2012-11-19 14:31:35 +01:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:03 +09:00
2011-08-26 17:26:35 -07:00
2012-05-29 16:22:34 -07:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:07 +09:00
2012-05-29 16:22:33 -07:00
2012-03-23 16:58:39 -07:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:02 +09:00
2012-07-09 00:16:10 +02:00
2012-01-10 16:30:53 -08:00
2012-07-30 17:25:18 -07:00
2012-04-26 11:17:01 +02:00
2012-03-23 16:58:39 -07:00
2011-05-06 18:02:03 -07:00
2012-07-25 17:06:23 +02:00
2012-10-15 10:03:16 +08:00
2012-03-23 16:58:39 -07:00
2012-12-17 17:15:20 -08:00
2011-05-06 18:02:04 -07:00
2012-08-21 16:45:03 -07:00
2012-12-17 17:15:21 -08:00
2012-10-06 03:05:06 +09:00
2012-03-23 16:58:39 -07:00
2012-01-10 16:30:53 -08:00
2012-03-23 17:36:29 -07:00
2012-07-30 17:25:18 -07:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:01 +09:00
2009-04-02 01:05:32 +00:00
2012-01-10 10:29:42 +08:00
2012-08-16 16:13:07 +08:00
2012-07-30 17:25:18 -07:00
2012-10-06 03:05:03 +09:00
2011-05-06 18:02:05 -07:00
2010-10-27 15:30:32 +09:00
2012-08-21 16:45:03 -07:00
2012-10-06 03:05:06 +09:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-12-17 17:15:21 -08:00
2012-10-06 03:05:08 +09:00
2012-03-29 18:02:10 -07:00
2012-03-23 16:58:39 -07:00
2012-10-06 03:05:01 +09:00
2012-12-17 17:15:21 -08:00
2008-11-21 01:24:38 -08:00
2012-03-23 16:58:39 -07:00
2012-07-03 13:22:36 +08:00
2008-11-14 16:37:54 -08:00
2012-10-06 03:05:04 +09:00
2012-05-29 16:22:34 -07:00
2012-12-17 17:15:20 -08:00
2011-05-17 14:44:36 -04:00
2012-12-17 17:15:21 -08:00
2012-11-21 16:08:00 +01:00
2012-03-23 16:58:39 -07:00
2012-01-10 16:30:53 -08:00
2012-03-23 16:58:39 -07:00
2012-12-17 17:15:20 -08:00
2012-07-19 10:38:31 -04:00
2012-01-10 16:30:53 -08:00
2012-10-06 03:05:05 +09:00