Re: [PATCH v5 2/5] regulator: Add function to map modes to struct regulator_desc

From: Mark Brown
Date: Fri Nov 07 2014 - 10:55:59 EST


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.

Attachment: signature.asc
Description: Digital signature