wifi: ath11k: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Thu, 12 Oct 2023 16:16:38 +0000 (19:16 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Oct 2023 08:28:26 +0000 (11:28 +0300)
commit9d2c23d21aa4517e48e5d6d0dfb9f99f1aa07636
tree49e55052f5a7e36a6d807f717361942e72d06db4
parent10c65f97b424fcee439463f933140df2a0022f98
wifi: ath11k: 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.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231009172923.2457844-11-robh@kernel.org
drivers/net/wireless/ath/ath11k/ahb.c