dma: Callback's user data has to be called user_data

s/callback_arg/user_data

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2020-07-29 08:57:20 +02:00 committed by Carles Cufí
commit 8144de1513

View file

@ -152,7 +152,7 @@ typedef void (*dma_callback_t)(struct device *dev, void *user_data,
* block_count is the number of blocks used for block chaining, this * block_count is the number of blocks used for block chaining, this
* depends on availability of the DMA controller. * depends on availability of the DMA controller.
* *
* callback_arg private argument from DMA client. * user_data private data from DMA client.
* *
* dma_callback see dma_callback_t for details * dma_callback see dma_callback_t for details
*/ */
@ -174,7 +174,7 @@ struct dma_config {
uint32_t dest_burst_length : 16; uint32_t dest_burst_length : 16;
uint32_t block_count; uint32_t block_count;
struct dma_block_config *head_block; struct dma_block_config *head_block;
void *callback_arg; void *user_data;
dma_callback_t dma_callback; dma_callback_t dma_callback;
}; };