]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: mscc-miim: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 07:58:18 +0000 (15:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 11:07:05 +0000 (12:07 +0100)
commit672a1c39495023e7e4e03f946ec792c17704267d
treeab9e655ef874f934f6224754f87c786e238630c3
parentfa14d03e014a130839f9dc1b97ea61fe598d873d
net: mdio: mscc-miim: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c