Messages in this thread | | | Subject | Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model core | From | Valdis.Kletnieks@vt ... | Date | Mon, 26 Jan 2004 01:25:03 -0500 |
| |
On Mon, 26 Jan 2004 15:55:06 +1000, Steve Youngs <sryoungs@bigpond.net.au> said:
> Because the 2nd user is still using the module so its in-use bit > should still be set. Remember that when the module was first loaded > it registered a function with the kernel for testing whether the > module is in use.
Anybody who's ever been in a bathroom stall and somebody turned off the lights on their way out will intuitively understand why you need a reference count and not an in-use bit, [unhandled content-type:application/pgp-signature] | |