On Tue, 25 Sep 2007 14:38:38 +1000,
Rusty Russell <rusty@rustcorp.com.au> wrote:
ccwgroup is a bit special. The ccwgroup drivers (say, qeth) will
unregister their ccwgroup_driver in their exit function. ccwgroup will
then unregister all devices bound to this driver (a ccwgroup device
without a driver does not make sense, since they are artifically
created by writing to a 'group' attribute provided by the driver). This
makes sure that ccwgroup cannot be unloaded while there are still
devices on the bus, so your example won't hit.
There are already problems like this with ->release().
<And no, I still haven't gotten around to testing and reviewing all
those patchsets, sorry>
-