Skip to content

Commit c4aa6f3

Browse files
Rajendra NayakSamuel Ortiz
authored andcommitted
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>
1 parent ef3b7d0 commit c4aa6f3

2 files changed

Lines changed: 98 additions & 93 deletions

File tree

‎drivers/mfd/twl-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ add_regulator_linked(int num, struct regulator_init_data *pdata,
496496
}
497497

498498
/* NOTE: we currently ignore regulator IRQs, e.g. for short circuits */
499-
return add_numbered_child(3, "twl4030_reg", num,
499+
return add_numbered_child(3, "twl_reg", num,
500500
pdata, sizeof(*pdata), false, 0, 0);
501501
}
502502

0 commit comments

Comments
 (0)