Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 2 participants 2 messages Jul 20, 2009

Subsystems (4)

v1 of 4 Superseded Latest is v4 →

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
#1 lore raw
Quoted 9 lines · On Mon, Jul 20, 2009 at 07:02:31PM +0530, [email protected] wrote:

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

same comment

Signature · 1 line
balbi