pinctrl: rename U300 and SIRF pin controllers
Linus Walleij [Sun, 18 Dec 2011 22:44:26 +0000 (23:44 +0100)]
For stringent order, rename the pinmux-* pin controllers to
pinctrl-* and also rename the Kconfig symbols and in-kernel
users.

Cc: Rongjun Ying <Rongjun.Ying@csr.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

arch/arm/mach-u300/Kconfig
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-sirf.c [moved from drivers/pinctrl/pinmux-sirf.c with 100% similarity]
drivers/pinctrl/pinctrl-u300.c [moved from drivers/pinctrl/pinmux-u300.c with 100% similarity]

index c2d5c6c..54d8f34 100644 (file)
@@ -7,7 +7,7 @@ comment "ST-Ericsson Mobile Platform Products"
 config MACH_U300
        bool "U300"
        select PINCTRL
-       select PINMUX_U300
+       select PINCTRL_U300
        select PINCTRL_COH901
 
 comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
index c63c721..afaf885 100644 (file)
@@ -23,13 +23,13 @@ config DEBUG_PINCTRL
        help
          Say Y here to add some extra checks and diagnostics to PINCTRL calls.
 
-config PINMUX_SIRF
-       bool "CSR SiRFprimaII pinmux driver"
+config PINCTRL_SIRF
+       bool "CSR SiRFprimaII pin controller driver"
        depends on ARCH_PRIMA2
        select PINMUX
 
-config PINMUX_U300
-       bool "U300 pinmux driver"
+config PINCTRL_U300
+       bool "U300 pin controller driver"
        depends on ARCH_U300
        select PINMUX
 
index c046f78..827601c 100644 (file)
@@ -5,6 +5,6 @@ ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
 obj-$(CONFIG_PINCTRL)          += core.o
 obj-$(CONFIG_PINMUX)           += pinmux.o
 obj-$(CONFIG_PINCONF)          += pinconf.o
-obj-$(CONFIG_PINMUX_SIRF)      += pinmux-sirf.o
-obj-$(CONFIG_PINMUX_U300)      += pinmux-u300.o
+obj-$(CONFIG_PINCTRL_SIRF)     += pinctrl-sirf.o
+obj-$(CONFIG_PINCTRL_U300)     += pinctrl-u300.o
 obj-$(CONFIG_PINCTRL_COH901)   += pinctrl-coh901.o