[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25bf8893-7369-954e-bd5b-f3d592af5b09@omp.ru>
Date: Mon, 27 Dec 2021 22:58:04 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>
CC: Rob Herring <robh+dt@...nel.org>, <linux-kernel@...r.kernel.org>,
Prabhakar <prabhakar.csengg@...il.com>,
<linux-ide@...r.kernel.org>
Subject: Re: [PATCH v3 04/10] ata: pata_platform: Use
platform_get_irq_optional() to get the interrupt
On 12/24/21 4:12 PM, Lad Prabhakar wrote:
> To be consistent with pata_of_platform driver use
> platform_get_irq_optional() instead of
> platform_get_resource(pdev, IORESOURCE_IRQ, 0).
But why can't we be consistent with the unpatched pata_of_platfrom(), and then
convert to platform_get_irq_optional() after merging both drivers?
I'd like to avoid patching the driver to be gone if possible...
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
[...]
MBR, Sergey
Powered by blists - more mailing lists