sparc: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Thu, 31 Aug 2023 21:40:08 +0000 (16:40 -0500)
committerRob Herring <robh@kernel.org>
Fri, 19 Jan 2024 14:08:53 +0000 (08:08 -0600)
commit61c2ef4b6cb019946479baf0aeded648081bfb5c
tree25ed26a8bbd1b8016987177430155ede63bcb424
parent9d1694dc91ce7b80bc96d6d8eaf1a1eca668d847
sparc: 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>
arch/sparc/kernel/pci_sabre.c
arch/sparc/kernel/pci_schizo.c