diff options
author | Rob Herring <[email protected]> | 2023-10-06 17:46:24 -0500 |
---|---|---|
committer | Xu Yilun <[email protected]> | 2023-10-16 10:19:51 +0800 |
commit | 3b08f52c256189b7c0d5cf1a031fa464ec20393b (patch) | |
tree | f18c82345c3daae81e17df55994b8d6ef0514887 /drivers/fpga/versal-fpga.c | |
parent | 4e807eb05dff41d500822f81744ec5f9c0591aa5 (diff) |
fpga: altera-ps-spi: 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.
Also drop of_match_ptr for of_ef_match, which is not necessary because DT
is always used for this driver.
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Xu Yilun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: drop of_match_ptr for of_ef_match]
Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions