Skip to contentSkip to conversation

ARM: OMAP: Rename twl4030_ to twl_ in twl-regulator.c to make it generic reg

PATCH In review [email protected] 1 participant 1 message Oct 1, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index edc6fa4..62ace48 100644
@@ -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