Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 1 participant 1 message Jul 14, 2009

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 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. Register addresses which have changed will be selected with COMPILATION FLAG

---
 drivers/mfd/twl-core.c |    2 +-
 drivers/rtc/rtc-twl.c  |  124 ++++++++++++++++++++++++------------------------
 2 files changed, 63 insertions(+), 63 deletions(-)
drivers/mfd/twl-core.c +1 -1
index 7cd1b01..95d92db 100644
@@ -528,7 +528,7 @@ add_children(struct twl_platform_data *pdata, unsigned long features)
 		 * Eventually, Linux might become more aware of such
 		 * HW security concerns, and "least privilege".
 		 */
-		child = add_child(RTC_SUB_CHIP_ID, "twl4030_rtc",
+		child = add_child(RTC_SUB_CHIP_ID, "twl_rtc",
 				NULL, 0,
 				true, pdata->irq_base + RTC_INTR_OFFSET, 0);
 		if (IS_ERR(child))
drivers/rtc/rtc-twl.c +62 -62

367 lines not on this page · raw message

Signature · 1 line
1.5.4.7