dmaengine: core: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 11 May 2016 17:39:27 +0000 (13:39 -0400)
committerVinod Koul <vinod.koul@intel.com>
Sat, 14 May 2016 08:02:03 +0000 (13:32 +0530)
commitd57d3a48ca784615e839475d8bdf8f3cecf77c8d
tree7df8bb93d46159f0050152d1880750229b737b74
parentdd4e91d538b3d16d5241575a3fb654a9aa50392c
dmaengine: core: Use IS_ENABLED() instead of checking for built-in or module

The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c