Re: i2c_inc/dec_use_client in 2.5.x?

Christoph Hellwig (hch@infradead.org)
Fri, 21 Mar 2003 16:08:06 +0000


On Fri, Mar 21, 2003 at 04:57:44PM +0100, Ronald Bultje wrote:
> Hey,
>
> what happened to above-mentioned functions? Well, yes, I can see that
> they're removed in 2.5.65 (probably earlier, I can't find them in any
> 2.5.x version), but why? Aren't the i2c client modules supposed to keep
> their use count dynamically anymore? i2c_client->inc/dec_use are gone
> too...

use try_module_get/module_put on ->owner.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/