]> git.baikalelectronics.ru Git - kernel.git/commit
usb: uhci: Use platform_get_irq() to get the interrupt
authorRob Herring <robh@kernel.org>
Wed, 15 Dec 2021 22:52:03 +0000 (16:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 15:52:21 +0000 (16:52 +0100)
commitae06fc6228f903191ff079eac0f4ba64f6bd36d8
tree44d1f40568d49cfaee2026baf66289d1d20b2da5
parent9159b3b18045dca891c8b293e806218e7e589054
usb: uhci: 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
continuing to use static IRQ resources is blocking removing the static setup
from the DT core code.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215225203.1991003-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/uhci-platform.c