]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: core: Use dev_ functions for debug and error prints
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 14 Mar 2016 14:51:09 +0000 (16:51 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 4 Apr 2016 13:19:06 +0000 (06:19 -0700)
commitef859312c3a16b42f398e6dbb14de23bffd5dd41
treed4bb22a5b0d1606812c75673d9ba906c7c2f4cab
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
dmaengine: core: Use dev_ functions for debug and error prints

According to dmaengine kerneldoc the struct dma_chan has always a non-NULL
pointer to DMA device and a test in dma_async_device_register()
validates that DMA device must also point to struct device.

All pr_ prints except one in dma_channel_table_init() have valid DMA
channel or DMA device pointer available which allow convert them to use
dev_ functions and thus able to show the associated DMA device.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c