ARM: OMAP: Rename twl4030_ in rtc-twl.c to make it generic rtc
Subsystems (3)
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
Signed-off-by Balaji T K <[email protected]>
Signed-off-by Nayak Rajendra <[email protected]>
Signed-off-by Santosh Shilimkar <[email protected]>
--- 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
@@ -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