aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl-core.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2009-12-13 21:36:49 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 21:36:49 +0100
commitc4aa6f314328142974c78377cd9476f8ec6f0eba (patch)
treec317feb5db32869a704cb1840793cdde5f5171a9 /drivers/mfd/twl-core.c
parentef3b7d0d3ed6c53917367003af90a4002f409d3d (diff)
downloadkernel_samsung_smdk4412-c4aa6f314328142974c78377cd9476f8ec6f0eba.zip
kernel_samsung_smdk4412-c4aa6f314328142974c78377cd9476f8ec6f0eba.tar.gz
kernel_samsung_smdk4412-c4aa6f314328142974c78377cd9476f8ec6f0eba.tar.bz2
mfd: Rename twl4030_ routines in twl-regulator.c
This patch renames all twl4030_ functions to twl so that regulator driver can be reused by Triton - TWL4030 and Phoenix - TWL6030. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Balaji T K <balajitk@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Kevin Hilman <khilman@deeprootsystems.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl-core.c')
-rw-r--r--drivers/mfd/twl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index ebbd8e1..79946fe 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -496,7 +496,7 @@ add_regulator_linked(int num, struct regulator_init_data *pdata,
}
/* NOTE: we currently ignore regulator IRQs, e.g. for short circuits */
- return add_numbered_child(3, "twl4030_reg", num,
+ return add_numbered_child(3, "twl_reg", num,
pdata, sizeof(*pdata), false, 0, 0);
}