Skip to content
Commit 3a73aeff authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Marc Kleine-Budde
Browse files

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: default avatarHimangi Saraogi <himangi774@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent b25a4372
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment