mfd/tc35892: rename tc35892 core driver to tc3589x
authorSundar Iyer <sundar.iyer@stericsson.com>
Mon, 13 Dec 2010 04:03:13 +0000 (09:33 +0530)
committerLinus Walleij <linus.walleij@stericsson.com>
Sun, 19 Dec 2010 18:27:42 +0000 (19:27 +0100)
Rename the tc35892 core/gpio drivers to tc3589x to include
new variants in the same mfd core

Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/tc3589x-gpio.c [moved from drivers/gpio/tc35892-gpio.c with 100% similarity]
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/tc3589x.c [moved from drivers/mfd/tc35892.c with 100% similarity]

index 3143ac7..082495b 100644 (file)
@@ -230,11 +230,11 @@ config GPIO_STMPE
          This enables support for the GPIOs found on the STMPE I/O
          Expanders.
 
-config GPIO_TC35892
-       bool "TC35892 GPIOs"
-       depends on MFD_TC35892
+config GPIO_TC3589X
+       bool "TC3589X GPIOs"
+       depends on MFD_TC3589X
        help
-         This enables support for the GPIOs found on the TC35892
+         This enables support for the GPIOs found on the TC3589X
          I/O Expander.
 
 config GPIO_TWL4030
index bdf3dde..39bfd7a 100644 (file)
@@ -24,7 +24,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += pcf857x.o
 obj-$(CONFIG_GPIO_PCH)         += pch_gpio.o
 obj-$(CONFIG_GPIO_PL061)       += pl061.o
 obj-$(CONFIG_GPIO_STMPE)       += stmpe-gpio.o
-obj-$(CONFIG_GPIO_TC35892)     += tc35892-gpio.o
+obj-$(CONFIG_GPIO_TC3589X)     += tc3589x-gpio.o
 obj-$(CONFIG_GPIO_TIMBERDALE)  += timbgpio.o
 obj-$(CONFIG_GPIO_TWL4030)     += twl4030-gpio.o
 obj-$(CONFIG_GPIO_UCB1400)     += ucb1400_gpio.o
index 3a1493b..e8e704f 100644 (file)
@@ -218,12 +218,12 @@ config MFD_STMPE
                Keypad: stmpe-keypad
                Touchscreen: stmpe-ts
 
-config MFD_TC35892
-       bool "Support Toshiba TC35892"
+config MFD_TC3589X
+       bool "Support Toshiba TC35892 and variants"
        depends on I2C=y && GENERIC_HARDIRQS
        select MFD_CORE
        help
-         Support for the Toshiba TC35892 I/O Expander.
+         Support for the Toshiba TC35892 and variants I/O Expander.
 
          This driver provides common support for accessing the device,
          additional drivers must be enabled in order to use the
index f54b365..e590d1e 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_MFD_DAVINCI_VOICECODEC)  += davinci_voicecodec.o
 obj-$(CONFIG_MFD_DM355EVM_MSP) += dm355evm_msp.o
 
 obj-$(CONFIG_MFD_STMPE)                += stmpe.o
-obj-$(CONFIG_MFD_TC35892)      += tc35892.o
+obj-$(CONFIG_MFD_TC3589X)      += tc3589x.o
 obj-$(CONFIG_MFD_T7L66XB)      += t7l66xb.o tmio_core.o
 obj-$(CONFIG_MFD_TC6387XB)     += tc6387xb.o tmio_core.o
 obj-$(CONFIG_MFD_TC6393XB)     += tc6393xb.o tmio_core.o
similarity index 100%
rename from drivers/mfd/tc35892.c
rename to drivers/mfd/tc3589x.c