can: c_can: convert to use devm * api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 20 Jun 2014 11:59:34 +0000 (12:59 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Jul 2014 07:32:06 +0000 (09:32 +0200)
commitc6bf7e5f4a2588bdee97b28b76f9c3605b11ec03
treeb8ecbcd07ed51e271a607aac5c1da5b584a6578b
parent0854a7f13206d7523abe773235bbe4d13958fc4b
can: c_can: convert to use devm * api

This patch uses devm_* APIs as they are device managed and make code simpler.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_platform.c