Messages in this thread | | | Date | Wed, 22 Jun 2016 11:35:32 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 2/6] regulator: of: Add enable GPIO configuration function |
| |
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? [unhandled content-type:application/pgp-signature] | |