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:43 EST


On Tue, Jan 08, 2013 at 12:06:44PM +0800, Axel Lin wrote:

> In this driver,
> There is a case that one gpio controls more than one regulator.
> e.g. ALDO2, ALDO3, ALDO4 are controlled by the same pin.

> It looks like current regulator core does not support this case.

Then the code to cope with this should be ported over to the core
instead of being open coded in the driver.

Attachment: signature.asc
Description: Digital signature