From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCH 6/8] regulator: max77686: Add external GPIO control Date: Mon, 27 Oct 2014 21:03:06 +0100 Message-ID: <544EA4FA.6040704@collabora.co.uk> References: <1414422226-10948-1-git-send-email-k.kozlowski@samsung.com> <1414422226-10948-7-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1414422226-10948-7-git-send-email-k.kozlowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org To: Krzysztof Kozlowski , Samuel Ortiz , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Ben Dooks , Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi List-Id: devicetree@vger.kernel.org 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