]> git.baikalelectronics.ru Git - kernel.git/commit
phy: mdio-moxart: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 27 Aug 2019 13:48:04 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2019 21:51:00 +0000 (14:51 -0700)
commitc8a3ed0e62d9336b24a14c36852af62e1d1d0cb9
tree4de22a82d2dd1567135caf3614b48ce32f962cd3
parentfe9f7a2ead0572f77beea42c452c193d00c37127
phy: mdio-moxart: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-moxart.c