From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960Ab3KUOqM (ORCPT ); Thu, 21 Nov 2013 09:46:12 -0500 Received: from mga02.intel.com ([134.134.136.20]:38249 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754122Ab3KUOqA (ORCPT ); Thu, 21 Nov 2013 09:46:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,744,1378882800"; d="scan'208";a="439241482" From: Mika Westerberg To: linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Linus Walleij , Chris Ball , Johannes Berg , Rhyland Klein , Adrian Hunter , Alexandre Courbot , Mathias Nyman , Rob Landley , Heikki Krogerus , Mika Westerberg , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h Date: Thu, 21 Nov 2013 16:45:48 +0200 Message-Id: <1385045153-25160-1-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 1.8.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Now that the mainline kernel has full ACPI support for the GPIO descriptor interface we can get rid of ACPI specific GPIO functions in favor of GPIO descriptor (gpiod_*) interfaces. This series first converts the existing two users to this interface and then modifies gpiolib and gpiolib-acpi so that the ACPI functions are only called internally in drivers/gpio. We then remove the acpi_gpio.h and require all users to user gpiod_* interfaces. I suppose it would make sense to merge the whole series via GPIO or ACPI trees because there's a dependency that the first two patches need to be applied before last three. Otherwise the drivers in question fail to compile. Thanks. Heikki Krogerus (1): net: rfkill: gpio: convert to descriptor-based GPIO interface Mika Westerberg (4): mmc: sdhci-acpi: covert to use GPIO descriptor API gpio / ACPI: register to ACPI events automatically gpio / ACPI: get rid of acpi_gpio.h Documentation / ACPI: update to GPIO descriptor API Documentation/acpi/enumeration.txt | 36 +++---------- drivers/gpio/gpiolib-acpi.c | 20 +++++-- drivers/gpio/gpiolib.c | 5 +- drivers/gpio/gpiolib.h | 46 ++++++++++++++++ drivers/mmc/host/sdhci-acpi.c | 26 ++++----- drivers/pinctrl/pinctrl-baytrail.c | 4 -- include/linux/acpi_gpio.h | 51 ------------------ net/rfkill/rfkill-gpio.c | 108 +++++++++++++++++++++++-------------- 8 files changed, 150 insertions(+), 146 deletions(-) create mode 100644 drivers/gpio/gpiolib.h delete mode 100644 include/linux/acpi_gpio.h -- 1.8.4.3