dmaengine: dw: replace convert_burst() with one liner
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 17 Jan 2017 11:57:27 +0000 (13:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 25 Jan 2017 06:21:39 +0000 (11:51 +0530)
commitbe242f4e2e551e55d1f76504a8adcb703e0127c3
treec7cf761c1985ef2db2fabdf46c4639d6d3a1e5b1
parent08d62f58aa2587132a930afbe8664379b430e2dd
dmaengine: dw: replace convert_burst() with one liner

Replace convert_burst() with one liner in place.

The change simplifies further extension of the driver to cover new DMA
controller hardware.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c