]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: dw: platform: Move handle check to dw_dma_acpi_controller_register()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Aug 2019 13:15:44 +0000 (16:15 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 21 Aug 2019 04:11:28 +0000 (09:41 +0530)
commit84da042e702347c186b84d9cc2e766f83e1814d6
tree7b462763b42eaa16643f7918bbbf36a6385383f4
parente7b8514e4d68bec21fc6385fa0a66797ddc34ac9
dmaengine: dw: platform: Move handle check to dw_dma_acpi_controller_register()

Move ACPI handle check to the dw_dma_acpi_controller_register().

While here, convert it to has_acpi_companion() which is recommended way.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20190820131546.75744-9-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/platform.c