From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Eremin-Solenikov Subject: Re: [PATCH 11/15] sound: soc: poodle: make use of new locomo GPIO interface Date: Tue, 28 Oct 2014 19:45:18 +0300 Message-ID: <544FC81E.10408@gmail.com> References: <1414454528-24240-1-git-send-email-dbaryshkov@gmail.com> <1414454528-24240-12-git-send-email-dbaryshkov@gmail.com> <20141028145850.GU18557@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, Andrea Adami , Russell King , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linus Walleij , Alexandre Courbot , Dmitry Torokhov , Bryan Wu , Richard Purdie , Samuel Ortiz , Lee Jones , Jingoo Han , Liam Girdwood To: Mark Brown Return-path: In-Reply-To: <20141028145850.GU18557-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 10/28/2014 05:58 PM, Mark Brown wrote: > On Tue, Oct 28, 2014 at 03:02:04AM +0300, Dmitry Eremin-Solenikov wrote: >> Since LoCoMo driver has been converted to provide proper gpiolib >> interface, make poodle ASoC platform driver use gpiolib API. > > Please use subject lines matching the style for the subsystem. > >> + ret = gpio_request_array(poodle_gpios, ARRAY_SIZE(poodle_gpios)); >> + if (ret) { >> + dev_err(&pdev->dev, "gpio_request_array() failed: %d\n", >> + ret); >> + return ret; >> + } > > I sense a need for devm_gpio_request_array() here. Otherwise this looks > fine - ideally it'd move to gpiod but moving to gpiolib is a clear win > so no need to block on this. I like the idea of devm_gpio_request_array. But I would like not to add additional (core) patches to this patchset. > > Acked-by: Mark Brown > > with at least the subject line fixed. Subject line fixed. -- With best wishes Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html