Re: [PATCH RFT] regulator: lp8788-ldo: Use ldo->en_pin to check ifregulator is enabled by external pin

From: Mark Brown
Date: Tue Jan 08 2013 - 05:43:09 EST


On Mon, Jan 07, 2013 at 11:23:26PM +0000, Kim, Milo wrote:

> > Applied, thanks. However we should be converting the driver to use the
> > core support for this - the GPIO can just be given to the core in the
> > regulator config which should handle everything transparently.

> I have a question.
> Do you mean the dependency of CONFIG_GENERIC_GPIO in this driver?

No. I mean you should use the regulator API core functionality for
managing GPIO enables instead of open coding it.

Attachment: signature.asc
Description: Digital signature