Re: [PATCH] regulator: set max8998->dev to &pdev->dev.

From: Liam Girdwood
Date: Fri Aug 27 2010 - 09:04:35 EST


On Fri, 2010-08-27 at 10:30 +0100, Mark Brown wrote:
> On Fri, Aug 27, 2010 at 04:37:34PM +0800, Axel Lin wrote:
> > max8998->dev is NULL in current implementation, set it to &pdev->dev.
> >
> > regulator_register() still return success if max8998->dev is NULL,
> > but rdev->dev.parent will be set to NULL which is incorrect.
> >
> > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> --
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/