[PATCH 2/2] serial: stm32: update interrupt initialization

Andy Shevchenko andy.shevchenko at gmail.com
Wed Feb 28 07:41:14 PST 2018


On Wed, Feb 28, 2018 at 5:40 PM, Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Wed, Feb 28, 2018 at 12:51 PM, Bich HEMON <bich.hemon at st.com> wrote:

>> -       port->irq       = platform_get_irq(pdev, 0);
>> -       stm32port->wakeirq = platform_get_irq(pdev, 1);

>> +       stm32port->wakeirq = platform_get_irq_byname(pdev, "wakeup");
>
> But this one is redundant since Tony's patch:
> https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=bleeding-edge&id=da997b22c40473b7db60bde6ea188d35565d10c8

Oh, it'a bout getting a resource by name...

Sorry, discard my previous comment.


-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list