[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7abe4456-6c10-55bf-ead4-7379f23e7f6e@roeck-us.net>
Date: Fri, 3 Mar 2017 06:14:06 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Cc: linux-watchdog@...r.kernel.org, Wenyou.Yang@...rochip.com,
linux-kernel@...r.kernel.org,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Wim Van Sebroeck <wim@...ana.be>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 3/4] watchodg: sama5d4: simplify probe
On 03/03/2017 01:29 AM, Alexandre Belloni wrote:
> On 03/03/2017 at 09:03:25 +0100, Thomas Petazzoni wrote:
>> 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() ?
>>
>
> No particular reason but I'm just removing the if (pdev->dev.of_node)
>
A function call change would (should) be a separate patch.
Guenter
Powered by blists - more mailing lists