]> git.baikalelectronics.ru Git - kernel.git/commit
phy: mdio-sun4i: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 27 Aug 2019 13:50:32 +0000 (21:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2019 21:51:00 +0000 (14:51 -0700)
commit01bcd35360857b51ffeb31bcf5834d1b35a985b9
tree2c45d96f670bd9e19876d76d768591df0d5244e3
parent94f02cd9910a465c435908ed96a148e19c3d6a95
phy: mdio-sun4i: 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-sun4i.c