diff options
author | Rob Herring <robh@kernel.org> | 2023-10-07 01:46:24 +0300 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2023-10-16 05:19:51 +0300 |
commit | 3b08f52c256189b7c0d5cf1a031fa464ec20393b (patch) | |
tree | f18c82345c3daae81e17df55994b8d6ef0514887 /drivers/fpga/versal-fpga.c | |
parent | 4e807eb05dff41d500822f81744ec5f9c0591aa5 (diff) | |
download | linux-3b08f52c256189b7c0d5cf1a031fa464ec20393b.tar.xz |
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 <robh@kernel.org>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20231006224624.444857-1-robh@kernel.org
[yilun.xu@intel.com: drop of_match_ptr for of_ef_match]
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions