can: xilinx_can: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 14:26:19 +0000 (22:26 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 11 Nov 2019 20:58:09 +0000 (21:58 +0100)
commit0ff8ee89624aaa74ee48a3015b4c1305b357e401
treecc082140344ecf3cf7576164bbaed40859db19c1
parent91e9f2c0e7a49ec6a6673b4d97d535b838396fc9
can: xilinx_can: 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/xilinx_can.c