Re: [PATCH 2/6] regulator: of: Add enable GPIO configuration function

From: Mark Brown
Date: Wed Jun 22 2016 - 06:37:13 EST


On Wed, Jun 22, 2016 at 05:25:54PM +0900, Alexandre Courbot wrote:
> Several regulator drivers are using an enable GPIO with similar DT
> properties, yet each driver is parsing these properties its own way. Add
> the of_get_regulator_gpio_config() function which is able to parse all
> known properties and update the regulator_config accordingly.

Why is this a function and not something data driven in the core?

Attachment: signature.asc
Description: PGP signature