Re: [PATCH V2] regulator: 88pm800: add regulator driver for 88pm800

From: Mark Brown
Date: Tue Jun 25 2013 - 05:12:32 EST


On Tue, Jun 25, 2013 at 10:13:38AM +0800, Chao Xie wrote:
> On Mon, Jun 24, 2013 at 6:14 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:

> > If you really need to have platform data for all the regulators then
> > just embed the array inside the platform data so there's no possibility
> > of any confusion.

> Some regulators will not be exported to kernel depending on boards which are
> for special usage. So i do not use a array inside the platform data.

Remember that the regulator API won't do anything except read from a
regulator unless it's got constraints saying it's OK to do so. Are you
saying that even reading the hardware state is a problem?

Attachment: signature.asc
Description: Digital signature