diff options
author | Rajendra Nayak <rnayak@ti.com> | 2009-12-13 21:36:49 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 21:36:49 +0100 |
commit | c4aa6f314328142974c78377cd9476f8ec6f0eba (patch) | |
tree | c317feb5db32869a704cb1840793cdde5f5171a9 /drivers/mfd | |
parent | ef3b7d0d3ed6c53917367003af90a4002f409d3d (diff) | |
download | linux-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')
-rw-r--r-- | drivers/mfd/twl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index ebbd8e161267..79946fe800af 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); } |