diff options
| author | Rob Herring <[email protected]> | 2023-10-06 22:46:24 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2023-10-16 02:19:51 +0000 |
| commit | 3b08f52c256189b7c0d5cf1a031fa464ec20393b (patch) | |
| tree | f18c82345c3daae81e17df55994b8d6ef0514887 /drivers/fpga/versal-fpga.c | |
| parent | fpga: Use device_get_match_data() (diff) | |
| download | kernel-3b08f52c256189b7c0d5cf1a031fa464ec20393b.tar.gz kernel-3b08f52c256189b7c0d5cf1a031fa464ec20393b.zip | |
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
