Skip to contentSkip to conversation

ARM: OMAP: Rename twl4030_ in rtc-twl.c to make it generic rtc

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

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

PATCH v4 3/8 ARM: OMAP: Rename twl4030_ in rtc-twl.c to make it generic rtc

From: Balaji T K <[email protected]>

This patch renames all twl4030_ functions to twl_ so that RTC driver can be shared between Triton and Phoenix.

---
 drivers/mfd/twl-core.c |    2 +-
 drivers/rtc/rtc-twl.c  |  136 ++++++++++++++++++++++++------------------------
 2 files changed, 69 insertions(+), 69 deletions(-)
drivers/mfd/twl-core.c +1 -1
index 36fca95..f1509c8 100644
@@ -538,7 +538,7 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features)
 		 * Eventually, Linux might become more aware of such
 		 * HW security concerns, and "least privilege".
 		 */
-		child = add_child(3, "twl4030_rtc",
+		child = add_child(3, "twl_rtc",
 				NULL, 0,
 				true, pdata->irq_base + RTC_INTR_OFFSET, 0);
 		if (IS_ERR(child))
drivers/rtc/rtc-twl.c +68 -68

386 lines not on this page · raw message

Signature · 1 line
1.5.4.7