ARM: OMAP: Rename twl4030_ to twl_ in twl-regulator.c to make it generic reg
PATCH v3 4/4 ARM: OMAP: Rename twl4030_ to twl_ in twl-regulator.c to make it generic reg
From: Rajendra Nayak <[email protected]>
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 <[email protected]>
Signed-off-by Balaji T K <[email protected]>
Signed-off-by Santosh Shilimkar <[email protected]>
Acked-by Kevin Hilman <[email protected]>
Acked-by Mark Brown <[email protected]>
--- drivers/mfd/twl-core.c | 2 +- drivers/regulator/twl-regulator.c | 191 +++++++++++++++++++------------------ 2 files changed, 99 insertions(+), 94 deletions(-)
drivers/mfd/twl-core.c +1 -1
@@ -455,7 +455,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 ); }
drivers/regulator/twl-regulator.c +98 -93
411 lines not on this page · raw message
Signature · 1 line
1.5.4.7