[PATCH 06/20] mfd/tc35892: rename tc35892 header to tc3589x

Sundar Iyer sundar.iyer at stericsson.com
Fri Dec 3 10:05:39 EST 2010


Rename the header file to include further variants within
the same mfd core driver

Signed-off-by: Sundar Iyer <sundar.iyer at stericsson.com>
---
 drivers/gpio/tc35892-gpio.c                |    2 +-
 drivers/mfd/tc35892.c                      |    2 +-
 include/linux/mfd/{tc35892.h => tc3589x.h} |    0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/linux/mfd/{tc35892.h => tc3589x.h} (100%)

diff --git a/drivers/gpio/tc35892-gpio.c b/drivers/gpio/tc35892-gpio.c
index 7e10c93..027b857 100644
--- a/drivers/gpio/tc35892-gpio.c
+++ b/drivers/gpio/tc35892-gpio.c
@@ -13,7 +13,7 @@
 #include <linux/gpio.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
-#include <linux/mfd/tc35892.h>
+#include <linux/mfd/tc3589x.h>
 
 /*
  * These registers are modified under the irq bus lock and cached to avoid
diff --git a/drivers/mfd/tc35892.c b/drivers/mfd/tc35892.c
index e619e2a..f230235 100644
--- a/drivers/mfd/tc35892.c
+++ b/drivers/mfd/tc35892.c
@@ -12,7 +12,7 @@
 #include <linux/slab.h>
 #include <linux/i2c.h>
 #include <linux/mfd/core.h>
-#include <linux/mfd/tc35892.h>
+#include <linux/mfd/tc3589x.h>
 
 /**
  * tc35892_reg_read() - read a single TC35892 register
diff --git a/include/linux/mfd/tc35892.h b/include/linux/mfd/tc3589x.h
similarity index 100%
rename from include/linux/mfd/tc35892.h
rename to include/linux/mfd/tc3589x.h
-- 
1.7.2.dirty




More information about the linux-arm-kernel mailing list