Skip to content
Commit 63d36c95 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs



dmam_alloc_noncoherent is a trivial wrapper around dmam_alloc_attrs,
that hardcodes one particular flag.  Make the devres code more
flexible by allowing the callers to pass arbitrary flags.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTejun Heo <tj@kernel.org>
parent 03b64386
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