Re: [PATCH 3/4] watchodg: sama5d4: simplify probe

From: Thomas Petazzoni
Date: Fri Mar 03 2017 - 06:10:09 EST


Hello,

On Thu, 2 Mar 2017 18:31:13 +0100, Alexandre Belloni wrote:

> + irq = irq_of_parse_and_map(pdev->dev.of_node, 0);

Any reason to use irq_of_parse_and_map() over the more conventional
platform_get_irq() ?

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com