Messages in this thread | | | Date | Wed, 19 Dec 2012 23:58:15 +0100 | From | Alexander Holler <> | Subject | Re: [rtc-linux] [PATCH] rtc: recycle id when unloading a rtc driver |
| |
Am 19.12.2012 23:37, schrieb Andrew Morton:
> I think I'll do this: > > > From: Andrew Morton <akpm@linux-foundation.org> > Subject: revert "rtc: recycle id when unloading a rtc driver"
Thanks a lot, I just haven't seen the stuff got broken with 3.7 as I haven't played much with RTCs before (just used them). So I didn't looked at the git history and fixed it myself just to find out Lothar already had send a patch. ;)
And for the symmetrie between register/unregister (moving ida_simple_remove() from release() to unregister()) I'm not exactly sure if that wouldn't break something. Also it looks like anything which still would use the ID will fail after unregister (because unregister cleans up a lot), I'm not quite sure. So just reverting it looks like a save bet.
Regards,
Alexander
| |