aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-ps-spi.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-10-06 22:46:33 +0000
committerXu Yilun <[email protected]>2023-10-13 15:17:16 +0000
commit4e807eb05dff41d500822f81744ec5f9c0591aa5 (patch)
tree7daf6c659450fdcc7a8c31639a10029cd0696a86 /drivers/fpga/altera-ps-spi.c
parentLinux 6.6-rc3 (diff)
downloadkernel-4e807eb05dff41d500822f81744ec5f9c0591aa5.tar.gz
kernel-4e807eb05dff41d500822f81744ec5f9c0591aa5.zip
fpga: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to get the driver match data. With this, adjust the includes to explicitly include the correct headers. Also drop of_match_ptr for xlnx_pr_decoupler_of_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]: merge the fix [email protected]] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-ps-spi.c')
0 files changed, 0 insertions, 0 deletions