]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Thu, 1 Aug 2019 12:27:32 +0000 (20:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2019 17:10:34 +0000 (13:10 -0400)
commit43c70e80a895d5aeb7657d2042a58d9433cf737c
tree7dff6ed102f4060bc238127636fdfe4d95a39c82
parenta98ed8a141c32603c289407b7d143234f2949e26
net: dsa: b53: 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/dsa/b53/b53_srab.c