drivers: net: can: grcan: use devm_ioremap_resource()
authorLaurent Navet <laurent.navet@gmail.com>
Mon, 13 May 2013 15:27:51 +0000 (17:27 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 16 May 2013 11:27:15 +0000 (13:27 +0200)
commitbc441bc8e36e0bcdbf21639fb78e94ffa19ea226
tree6fdcdd8339fe8a5311ebd5016e2d1591f0152333
parentdbbffe6898fd0d7bac66ded5d3c58835b13ddefc
drivers: net: can: grcan: use devm_ioremap_resource()

Replace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource.
dev_err() message is no more needed since it's already displayed in
devm_ioremap_resource().

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/grcan.c