From: akpm@linux-foundation.org Subject: + drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch added to -mm tree Date: Fri, 09 May 2014 14:21:51 -0700 Message-ID: <536d46ef.M8SKuj4Y7/PLLHf9%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:58244 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757368AbaEIVVw (ORCPT ); Fri, 9 May 2014 17:21:52 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, gang.chen.5i5j@gmail.com Subject: + drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch added to -mm tree To: gang.chen.5i5j@gmail.com From: akpm@linux-foundation.org Date: Fri, 09 May 2014 14:21:51 -0700 The patch titled Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue has been added to the -mm tree. Its filename is drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Chen Gang 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' Signed-off-by: Chen Gang Signed-off-by: Andrew Morton --- drivers/rtc/rtc-puv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue drivers/rtc/rtc-puv3.c --- a/drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue +++ a/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 gang.chen.5i5j@gmail.com are drivers-rtc-rtc-puv3c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch linux-next.patch