]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ethernet: wiznet: Use spi_get_device_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:00 +0000 (12:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 09:05:49 +0000 (10:05 +0100)
commit13266ad9e52e2e51b0f068b0251a1d5c2badae5c
tree20c650592da7dc2a1154ee6af8f6b44693b75b40
parentb0377116decdeecb8c6a928d59cd4bea00a4af6e
net: ethernet: wiznet: Use spi_get_device_match_data()

Use preferred spi_get_device_match_data() instead of of_match_device() and
spi_get_device_id() 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/ethernet/wiznet/w5100-spi.c