Re: regmap module_put usage.

From: Jonathan Cameron
Date: Mon Sep 05 2011 - 11:05:47 EST


On 09/05/11 16:00, Mark Brown wrote:
> On Mon, Sep 05, 2011 at 01:55:15PM +0100, Jonathan Cameron wrote:
>
>> Right now, calling regmap_exit() results in a module_put of the
>> regmap-spi module which never has a module_get and hence it's
>> module use count wraps around and all hell breaks loose?
>
> Oh, that's a bit of bitrot from a last minute reorg. I'll fix it.
>
Thanks, I just scrapped the calls as any module will be dependent statically
on the relevant regmap-bus.c file anyway.
--
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/