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

From: Mark Brown
Date: Sun Mar 14 2010 - 16:09:38 EST


On Fri, Mar 12, 2010 at 08:09:01PM +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>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
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/