can: sja1000: platform: use devm_* APIs
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Fri, 31 Jan 2014 13:34:34 +0000 (14:34 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 4 Feb 2014 09:10:47 +0000 (10:10 +0100)
commit342180f7dcfb00e4019a0cd0f0e9bfd0c186c710
tree58b66eba906b2f40a257e9279ed9b878ed83a9f1
parent909285c437d4ff85ed55eae13eebd5c851570304
can: sja1000: platform: use devm_* APIs

Simplify probe and remove functions by converting most of the resources
to use devm_* APIs.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000_platform.c