Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model core

From: Valdis . Kletnieks
Date: Mon Jan 26 2004 - 01:26:23 EST


On Mon, 26 Jan 2004 15:55:06 +1000, Steve Youngs <sryoungs@xxxxxxxxxxxxxx> 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,

Attachment: pgp00000.pgp
Description: PGP signature