net: mdio: xgene: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:04 +0000 (12:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 09:15:05 +0000 (10:15 +0100)
commita243ecc323b99f1042262319c1d77f1c52f0e307
tree958fe73f4613b998ec1cf319dddc7a785d0c23ff
parent2dd3071892202ccaec3c59afc65c5b88357e73c9
net: mdio: xgene: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() and
acpi_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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-xgene.c