Thread (4 messages) 4 messages, 3 authors, 2022-01-04

Re: [PATCH v3 04/10] ata: pata_platform: Use platform_get_irq_optional() to get the interrupt

From: Sergey Shtylyov <hidden>
Date: 2021-12-27 19:58:10
Also in: lkml

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

MBR, Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help