Skip to contentSkip to conversation

drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 21, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 21 May 2014 11:55:14 -0700

The patch titled

     Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue

has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue

It is only a typo issue, the related commit:

"1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"

The related error (for unicore32 with allmodconfig):

CC [M] drivers/rtc/rtc-puv3.o
drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setalarm':
drivers/rtc/rtc-puv3.c:143: error: 'struct device' has no member named 'dev'

---

 drivers/rtc/rtc-puv3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-puv3.c renamed from drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue +1 -1
diff -puN drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue drivers/rtc/rtc-puv3.c
@@ -140,7 +140,7 @@ static int puv3_rtc_setalarm(struct devi
 	rtc_tm_to_time(tm, &rtcalarm_count);
 	writel(rtcalarm_count, RTC_RTAR);
 
-	puv3_rtc_setaie(&dev->dev, alrm->enabled);
+	puv3_rtc_setaie(dev, alrm->enabled);
 
 	if (alrm->enabled)
 		enable_irq_wake(puv3_rtc_alarmno);

_

Patches currently in -mm which might be from [email protected] are

linux-next.patch