Skip to content

Commit

Permalink
mfd: Rename twl4030_ routines in twl-regulator.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rajendra Nayak authored and Samuel Ortiz committed Dec 13, 2009
1 parent ef3b7d0 commit c4aa6f3
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 93 deletions.
2 changes: 1 addition & 1 deletion drivers/mfd/twl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
Loading

0 comments on commit c4aa6f3

Please sign in to comment.