dw_dmac: remove unnecessary ENODEV check
commitf5b9b77eea1f9aaf7725872be4b382f5530bb41e
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Mar 2013 17:29:13 +0000 (26 19:29 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Apr 2013 04:21:19 +0000 (15 09:51 +0530)
treed0574cdb0d64da577ee4773d6c6f705f47de660f
parentf776076b9fa82d630651c9af56359d80fce86d68
dw_dmac: remove unnecessary ENODEV check

If CONFIG_OF is not set the of_node of the device will always be NULL.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c