]> 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)
commit69851456a4b9d65560ef69be9cd19aa214794019
tree00a05595d825d16435442d720054d4ca0e72d01f
parent54514361363918cf6bc6898ff3ad66ceab1bdaf0
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