drivers: dma: Align all drivers using dma_callback_t type

No need to re-declare such signature anymore.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2020-07-29 08:55:43 +02:00 committed by Carles Cufí
commit 3a3f10c06e
8 changed files with 8 additions and 23 deletions

View file

@ -20,8 +20,7 @@ struct dma_stm32_stream {
uint32_t src_size;
uint32_t dst_size;
void *callback_arg; /* holds the client data */
void (*dma_callback)(struct device *dev, void *arg,
uint32_t id, int error_code);
dma_callback_t dma_callback;
};
struct dma_stm32_data {