mt76: mt7615: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 10 Jun 2021 09:25:35 +0000 (17:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:00:49 +0000 (14:00 -0700)
commit9e2b7b0450cfc6a99ceaa37843cb5d0179e1c2ae
treebc3474d691ca481a4af5ea79ba212f0e5cffbf5c
parent8a55a73433e763c8aec4a3e8df5c28c821fc44b9
mt76: mt7615: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/mediatek/mt76/mt7615/soc.c