[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8uEALwWXhsBZB6ct482W6iexuGaguVT5zxJiGQ6nL7hYg@mail.gmail.com>
Date: Tue, 4 Jan 2022 19:42:03 +0000
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Sergey Shtylyov <s.shtylyov@....ru>
Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>,
Rob Herring <robh+dt@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
"open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)"
<linux-ide@...r.kernel.org>
Subject: Re: [PATCH v3 04/10] ata: pata_platform: Use platform_get_irq_optional()
to get the interrupt
Hi Sergey,
Thank you for the review.
On Mon, Dec 27, 2021 at 7:58 PM Sergey Shtylyov <s.shtylyov@....ru> wrote:
>
> 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...
>
Basically to have members of struct pata_platform_priv{} in one shot,
instead of changing them again and again. btw you are OK with patching
for 06/10.
Cheers,
Prabhakar
Powered by blists - more mailing lists