]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 10 Apr 2012 19:36:56 +0000 (13:36 -0600)
commit2479d0f3ab3b67acf6594f85ced175a514bdfd81
tree4e928ab920dd34af454f3708f47e4a39ca6fe1a1
parente5fd24a78e016b54aa226b055664c459d8011396
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