Re: [rtc-linux] [PATCH] rtc: recycle id when unloading a rtc driver

From: Alexander Holler
Date: Wed Dec 19 2012 - 18:01:45 EST


Am 19.12.2012 23:37, schrieb Andrew Morton:

> I think I'll do this:
>
>
> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/