Re: [PATCHv2] regulator: Get rid of lockdep warning

From: Liam Girdwood
Date: Wed Mar 17 2010 - 19:07:20 EST


On Fri, 2010-03-12 at 20:09 +0200, Ameya Palande wrote:
> From: Ameya Palande <ameya.palande@xxxxxxxxx>
>
> WARNING: at kernel/lockdep.c:2706 sysfs_add_file_mode+0x4c/0xa8()
>
> Difference between v1 and v2:
> Moved sysfs_attr_init() call as first one to access the structure.
>
> Signed-off-by: Ameya Palande <ameya.palande@xxxxxxxxx>
> CC: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
> CC: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> CC: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> ---

Applied.

Thanks.

Liam

--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

--
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/