]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: Use of_device_get_match_data() helper
authorMeng Tang <tangmeng@uniontech.com>
Fri, 18 Mar 2022 02:53:31 +0000 (10:53 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 21 Mar 2022 10:48:24 +0000 (12:48 +0200)
commit927d68caf70a3d4e075069dc17933427e8de7fda
tree00a05595d825d16435442d720054d4ca0e72d01f
parent516e08d10e9a89890a3e975f9db2a275ee525031
ath10k: Use of_device_get_match_data() helper

Only the device data is needed, not the entire struct of_device_id.
Use of_device_get_match_data() instead of of_match_device().

Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220318025331.23030-1-tangmeng@uniontech.com
drivers/net/wireless/ath/ath10k/ahb.c