[PATCH 6/8] regulator: max77686: Add external GPIO control

Javier Martinez Canillas javier.martinez at collabora.co.uk
Mon Oct 27 13:03:06 PDT 2014


Hello Krzysztof,

On 10/27/2014 04:03 PM, Krzysztof Kozlowski wrote:
> @@ -85,6 +91,9 @@ struct max77686_data {
>  	struct max77686_regulator_data *regulators;
>  	int num_regulators;
>  
> +	/* Array of size num_regulators with GPIOs for external control. */
> +	int *ext_control_gpio;
> +

The integer-based GPIO API is deprecated in favor of the descriptor-based GPIO
interface (Documentation/gpio/consumer.txt). Could you please use the later?

Best regards,
Javier



More information about the linux-arm-kernel mailing list