diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-27 16:46:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-29 00:51:00 +0300 |
commit | bd301e05ba06548ef5afcd28d601dd3acf63fc92 (patch) | |
tree | 2e6a2d4e2c115b9af433aea551abab2c4e347d4c /drivers/net/phy/mdio-hisi-femac.c | |
parent | a3a90244c471854bbe79884fd5a48b84953faa75 (diff) | |
download | linux-bd301e05ba06548ef5afcd28d601dd3acf63fc92.tar.xz |
phy: mdio-bcm-iproc: 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>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-hisi-femac.c')
0 files changed, 0 insertions, 0 deletions