summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/peerlookup.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-09-01 22:36:49 +0300
committerRob Herring <robh@kernel.org>2024-01-19 17:08:53 +0300
commit5e6c3454b40594c6f1d398254e7b4005494f9638 (patch)
tree109e2fd97bd35d171bfb98a262b1e0b645d81752 /drivers/net/wireguard/peerlookup.c
parent61c2ef4b6cb019946479baf0aeded648081bfb5c (diff)
downloadlinux-5e6c3454b40594c6f1d398254e7b4005494f9638.tar.xz
net: can: 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. Error checking for matching and match data was not necessary as matching is always successful if we're already in probe and the match tables always have data pointers. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/net/wireguard/peerlookup.c')
0 files changed, 0 insertions, 0 deletions