Re: [PATCH v4 03/14] regulator: of: Add regulator desc param to of_get_regulator_init_data()

Javier Martinez Canillas
2014-11-03T16:11:57Z

On 11/03/2014 04:59 PM, Mark Brown wrote:
> No, it's only *currently* used for that. If we don't bother passing the
> descriptor in then future additions which make use of it (including
> adding mode operations to existing drivers) won't work and it might not
> be obvious why.
>

fair enough.

> You're already going through and modifying every single driver and all
> of those I looked at already had references to the descriptor in
> adjacent code or a global descriptor for the one regulator supported by
> the driver.
>

Ok, I'll make sure that all drivers passes the descriptor.

Best regards,
Javier