+ drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.patch added to -mm tree
Subsystems (2)
Subject: + drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 12 Feb 2014 14:19:12 -0800
The patch titled
Subject: drivers/rtc/rtc-da9052.c: remove redundant private structure field
has been added to the -mm tree. Its filename is
drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.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: Anthony Olech <[email protected]>
Subject: drivers/rtc/rtc-da9052.c: remove redundant private structure field
Remove redundant irq field in private rtc structure.
---
drivers/rtc/rtc-da9052.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/rtc/rtc-da9052.c renamed from drivers/rtc/rtc-da9052.c~drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field +1 -3
@@ -26,7 +26,6 @@struct da9052_rtc {struct rtc_device *rtc;struct da9052 *da9052; -int irq; };static int da9052_rtc_enable_alarm (struct da9052 *da9052,bool enable)
@@ -240,8 +239,7 @@ static int da9052_rtc_probe(struct platf rtc->da9052 =dev_get_drvdata (pdev->dev.parent);platform_set_drvdata (pdev, rtc); - rtc->irq =DA9052_IRQ_ALARM ; - ret =da9052_request_irq (rtc->da9052, rtc->irq,"ALM" , + ret =da9052_request_irq (rtc->da9052,DA9052_IRQ_ALARM ,"ALM" , da9052_rtc_irq, rtc);if (ret !=0 ) {rtc_err (rtc->da9052,"irq registration failed: %d\n" , ret);
_
Patches currently in -mm which might be from [email protected] are
drivers-rtc-rtc-da9052c-remove-redundant-private-structure-field.patch