Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755496AbaGIKOq (ORCPT ); Wed, 9 Jul 2014 06:14:46 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:33392 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755433AbaGIKOn (ORCPT ); Wed, 9 Jul 2014 06:14:43 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 9 Jul 2014 12:14:42 +0200 Message-ID: Subject: Re: [PATCH 0/5] Introduce a managed function for gpio_request_array From: Linus Walleij To: Himangi Saraogi , Alexandre Courbot Cc: "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Randy Dunlap , "linux-doc@vger.kernel.org" , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , patches@opensource.wolfsonmicro.com, "alsa-devel@alsa-project.org" , Eric Miao , Russell King , Haojian Zhuang , "linux-arm-kernel@lists.infradead.org" , Philipp Zabel , Paul Parsons , Julia Lawall Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 6, 2014 at 7:46 PM, Himangi Saraogi wrote: > This patchset intoduces a new managed interface devm_gpio_request_array, > adds it in the documentation and its declaration in the gpio.h include > file. Some cases of gpio_request_array are changed to > devm_gpio_request_array. > > Himangi Saraogi (5): > gpiolib: devres: Introduce the function devm_request_gpio_array > ASoC: wm1250-ev1: Use devm_gpio_request_array > ASoC: pxa: Use devm_gpio_request_array > ASoC: pxa: e800_wm9712: Introduce the use of devm_gpio_request_array > ASoC: pxa/hx4700: Introduce the use of devm_gpio_request_array Sorry, we're not encouraging extension of the old gpio* plain API anymore. The right thing to do is convert users over to using GPIO descriptors internally, then introduce devm_gpiod_get_array() if that makes some sense. Alexandre, what do you say? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/