lkml.org 
[lkml]   [2021]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 04/10] ata: pata_platform: Use platform_get_irq_optional() to get the interrupt
From
On 27.12.2021 22:58, Sergey Shtylyov 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

Sorry, pata_of_platform.

> 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@bp.renesas.com>
> [...]

MBR, Sergey

\
 
 \ /
  Last update: 2021-12-28 10:34    [W:0.043 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site