usb: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 21:13:46 +0000 (16:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 06:55:23 +0000 (08:55 +0200)
commit14485de431b0a860d3a117fe518ce9ede8c76732
tree2bc4f736da0b87977b54d8a0b3af97fd1db16291
parentc19473d28235a54e92821e927cb55690ad7c5279
usb: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231009211356.3242037-16-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_usb2.c
drivers/usb/dwc2/params.c
drivers/usb/gadget/udc/fsl_qe_udc.c
drivers/usb/misc/onboard_usb_hub.c