diff options
author | Eli Billauer <eli.billauer@gmail.com> | 2014-06-21 14:07:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 20:19:25 -0400 |
commit | 525be905dc5db388487470be44734f6fb33a8fda (patch) | |
tree | 53b8300bb058ecab55c4d3b0c848e21fbe692576 /drivers/staging/vt6656 | |
parent | 31cd921dea3274202399078443dc6e93ca3f84c1 (diff) | |
download | linux-525be905dc5db388487470be44734f6fb33a8fda.tar.bz2 |
staging: xillybus: Use devm_ API for memory allocation and DMA mapping
Managed device resource API replaces code that reinvents it for memory
allocation, page allocation and DMA mapping.
devm_add_action() is used for unwinding DMA mappings, since there is no
devm_* API for dma_map_single(). A recent patch that introduces such API
was rejected, mainly on the grounds that it may cause an unnecessary waste of
resources.
Suggested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
0 files changed, 0 insertions, 0 deletions