From 525be905dc5db388487470be44734f6fb33a8fda Mon Sep 17 00:00:00 2001 From: Eli Billauer Date: Sat, 21 Jun 2014 14:07:12 +0300 Subject: [PATCH] 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 Signed-off-by: Eli Billauer Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed