fotg210-udc: Get IRQ using platform_get_irq()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Nov 2022 11:52:01 +0000 (12:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 16:25:23 +0000 (17:25 +0100)
commitf8b729ce97f66807f6b958e891888d0b1ed20a9e
tree6a8d7c136c0dd0a789d7d40f57dce1ae2dd440e2
parent718a38d092ec920dd84a5e25510cc6721f527c3e
fotg210-udc: Get IRQ using platform_get_irq()

The platform_get_irq() is necessary to use to get dynamic
IRQ resolution when instantiating the device from the
device tree. IRQs are not passed as resources in that
case.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20221114115201.302887-4-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/fotg210/fotg210-udc.c