summaryrefslogtreecommitdiff
path: root/drivers/fpga/versal-fpga.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-06 17:46:24 -0500
committerXu Yilun <yilun.xu@linux.intel.com>2023-10-16 10:19:51 +0800
commit3b08f52c256189b7c0d5cf1a031fa464ec20393b (patch)
treef18c82345c3daae81e17df55994b8d6ef0514887 /drivers/fpga/versal-fpga.c
parent4e807eb05dff41d500822f81744ec5f9c0591aa5 (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 <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