can: sun4i: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 14:27:44 +0000 (22:27 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 11 Nov 2019 20:58:10 +0000 (21:58 +0100)
commit0767bbe530c123e0945f4c4c60639005ce44fede
tree69f8f49fd943e5c2a37b692896d4a4bfc1cf478b
parentac9921ded292bf3e8c201387bbbc0c3e171cae26
can: 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.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sun4i_can.c