commit | 933e4af4c590c63509ffadeb77fcd1d329ac9155 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon Jul 22 12:41:39 2013 -0300 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Aug 01 12:36:19 2013 +0200 |
tree | cb0602e154baeddd235c0432bd56e13f1441f775 | |
parent | 46b3a421903aa2a4bc9731ca4663cee3ea869dab [diff] |
can: flexcan: Use devm_ioremap_resource() Using devm_ioremap_resource() can make the code simpler and smaller. Also, place alloc_candev() after of_match_device() to make error handling easier. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>