Messages in this thread | | | Date | Fri, 7 Nov 2014 15:54:00 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v5 2/5] regulator: Add function to map modes to struct regulator_desc |
| |
On Fri, Nov 07, 2014 at 02:00:02PM +0100, Javier Martinez Canillas wrote:
> + * @map_modes: Callback invoked to translate from hardware to standard modes. > + * The function returns the standard REGULATOR_MODE that maps to > + * the hardware specific mode passed as an argument.
of_map_mode - it's only one mode and this is mapping to/from DT.
> + * If the callback is not defined, the "regulator-initial-mode" > + * and suspend states "regulator-mode" properties won't be parsed.
Just remove this, it's pretty obvious at best and going to bit rot at worst. [unhandled content-type:application/pgp-signature] | |