diff options
author | Rob Herring <robh@kernel.org> | 2023-10-07 00:46:33 +0200 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2023-10-13 17:17:16 +0200 |
commit | 4e807eb05dff41d500822f81744ec5f9c0591aa5 (patch) | |
tree | 7daf6c659450fdcc7a8c31639a10029cd0696a86 /drivers/block/swim_asm.S | |
parent | Linux 6.6-rc3 (diff) | |
download | linux-4e807eb05dff41d500822f81744ec5f9c0591aa5.tar.xz linux-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 <robh@kernel.org>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20231006224633.445035-1-robh@kernel.org
[yilun.xu@intel.com: merge the fix 20231012192149.1546368-1-robh@kernel.org]
Link: https://lore.kernel.org/r/20231012192149.1546368-1-robh@kernel.org
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'drivers/block/swim_asm.S')
0 files changed, 0 insertions, 0 deletions