dmaengine: mic_x100_dma: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Wed, 5 Dec 2018 16:18:58 +0000 (11:18 -0500)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Dec 2018 06:19:41 +0000 (11:49 +0530)
commit0f7ab39a6b401a4fef3f3b7004a2e58ef67079af
treedfafe3072407ae1d28f1b4257e8158b8411efa7f
parent8e1897bc8eaf1383d6b33d5232136221ffd9c818
dmaengine: mic_x100_dma: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mic_x100_dma.c