gpio: tegra: Hide tegra_gpio_enable/disable()
authorStephen Warren <swarren@nvidia.com>
Sat, 18 Feb 2012 08:04:55 +0000 (01:04 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 18 Apr 2012 16:26:38 +0000 (10:26 -0600)
commit3e215d0a19c2a0c389bd9117573b6dd8e46f96a8
treea45a82fc3e26459c8146cbe933229344cefa8b70
parentc61b3da0aca4cccb1dca757eb94e443faba4e88f
gpio: tegra: Hide tegra_gpio_enable/disable()

Recent pinctrl discussions concluded that gpiolib APIs should in fact do
whatever is required to mux a GPIO onto pins, by calling pinctrl APIs if
required. This change implements this for the Tegra GPIO driver, and removes
calls to the Tegra-specific APIs from drivers and board files.

Cc: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Chris Ball <cjb@laptop.org> # for sdhci-tegra.c
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
12 files changed:
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/board-harmony-pinmux.c
arch/arm/mach-tegra/board-paz00-pinmux.c
arch/arm/mach-tegra/board-pinmux.c
arch/arm/mach-tegra/board-pinmux.h
arch/arm/mach-tegra/board-seaboard-pinmux.c
arch/arm/mach-tegra/board-seaboard.c
arch/arm/mach-tegra/board-trimslice-pinmux.c
arch/arm/mach-tegra/include/mach/gpio-tegra.h
arch/arm/mach-tegra/usb_phy.c
drivers/gpio/gpio-tegra.c
drivers/mmc/host/sdhci-tegra.c