usb: ohci-s3c2410: Use platform_get_irq() to get the interrupt
authorRob Herring <robh@kernel.org>
Wed, 15 Dec 2021 22:53:57 +0000 (16:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 15:51:59 +0000 (16:51 +0100)
commitb6886c7826a17eaa908d7bae1537812bb78eb9fe
tree2e9cf3356df3dcfcf249d7c3b18fa5496e7fa44e
parent2dec70f18b914a3108ab656417c4a0b77fdea2cf
usb: ohci-s3c2410: Use platform_get_irq() to get the interrupt

Accessing platform device resources directly has long been deprecated for
DT as IRQ resources may not be available at device creation time. Drivers
relying on the static IRQ resources is blocking removing the static setup
from the DT core code.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215225358.1993774-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-s3c2410.c