]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a8297a39f3a300878339c72e689466cf271fb9f
treefbb568f13b8c4a91e1b272001263fa2a06bfbce4
parent48ec5e9bf18fbdfafbd39135e74662ddc6977c20
can: mcp251x: Use dmam_alloc_coherent

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>
drivers/net/can/spi/mcp251x.c