ath11k: convert to devm_platform_get_and_ioremap_resource
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 8 May 2020 07:53:23 +0000 (07:53 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 12 May 2020 07:34:36 +0000 (10:34 +0300)
commitc8ffcd122760612c1fac45c44d008a3fe8b2cbb4
treeb30aab95e428a7ce39b0effcdc9bf0720785fddd
parent52b776fa592178c3dc341a93fec7bc760b38cc15
ath11k: convert to devm_platform_get_and_ioremap_resource

Use the helper function that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200508075323.81128-1-weiyongjun1@huawei.com
drivers/net/wireless/ath/ath11k/ahb.c