]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: tegra: refactor probe handling
authorStephen Warren <swarren@nvidia.com>
Wed, 11 Apr 2012 18:53:09 +0000 (12:53 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 18 Apr 2012 16:26:40 +0000 (10:26 -0600)
commit52f48fe00fcad83cd5fc4c961d851a3530fe032b
tree68fdb2a2580914f17b74374ad6b390027824c389
parentecc295bbab6b9d1baf0c0a8c2d5a945b201df547
pinctrl: tegra: refactor probe handling

Rather than having a single tegra-pinctrl driver that determines whether
it's running on Tegra20 or Tegra30, instead have separate drivers for
each that call into utility functions to implement the majority of the
driver. This change is based on review feedback of the SPEAr pinctrl
driver, which had originally copied to Tegra driver structure.

This requires that the two drivers have unique names. Update a couple
spots in arch/arm/mach-tegra for the name change.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-tegra/board-pinmux.h
arch/arm/mach-tegra/devices.c
drivers/pinctrl/pinctrl-tegra.c
drivers/pinctrl/pinctrl-tegra.h
drivers/pinctrl/pinctrl-tegra20.c
drivers/pinctrl/pinctrl-tegra30.c