Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754884Ab3JKSO7 (ORCPT ); Fri, 11 Oct 2013 14:14:59 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:15702 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752628Ab3JKSOx (ORCPT ); Fri, 11 Oct 2013 14:14:53 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Fri, 11 Oct 2013 11:10:37 -0700 From: Alexandre Courbot To: Linus Walleij CC: Arnd Bergmann , Grant Likely , Mika Westerberg , , "Rafael J. Wysocki" , Mathias Nyman , , , , , Alexandre Courbot Subject: [PATCH v2 0/3] New descriptor-based GPIO interface Date: Fri, 11 Oct 2013 11:14:30 -0700 Message-ID: <1381515273-25466-1-git-send-email-acourbot@nvidia.com> X-Mailer: git-send-email 1.8.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1558 Lines: 40 Hi Linus, Hopefully this version should compile nicely in all cases. It also improves inline documentation, but more work is needed for the GPIO guide in Documentation/. This should follow shortly. I prefer to send it as-is as other patches started depending on this series and I guess you don't want them to accumulate too much. :) Changes since v1: - added missing definitions of devm_* functions in devres.c - added missing export of gpiod_get_index() - added inline documentation for gpiod_* functions - reorganized consumer.h and added missing functions declarations Alexandre Courbot (3): gpiolib: export descriptor-based GPIO interface gpiolib: port of_ functions to use gpiod gpiolib: add gpiod_get() and gpiod_put() functions drivers/gpio/devres.c | 83 ++++++ drivers/gpio/gpiolib-of.c | 28 +- drivers/gpio/gpiolib.c | 613 +++++++++++++++++++++++++++++------------- include/asm-generic/gpio.h | 222 +++++---------- include/linux/gpio.h | 11 +- include/linux/gpio/consumer.h | 253 +++++++++++++++++ include/linux/gpio/driver.h | 179 ++++++++++++ include/linux/of_gpio.h | 29 +- 8 files changed, 1046 insertions(+), 372 deletions(-) create mode 100644 include/linux/gpio/consumer.h create mode 100644 include/linux/gpio/driver.h -- 1.8.4 -- 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/