can: mcp251x: Use dmam_alloc_coherent
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 2 Aug 2014 13:52:04 +0000 (19:22 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 17 Aug 2014 23:03:43 +0000 (01:03 +0200)
This patch moves the data allocated using dma_alloc_coherent to the
corresponding managed interface and does away with the calls to free the
allocated memory in the probe and remove functions.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

No differences found