dmaengine: sun6i: Remove switch statement from buswidth convertion routine
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 30 Jul 2014 08:30:21 +0000 (10:30 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 30 Jul 2014 13:44:17 +0000 (19:14 +0530)
commit92e4a3bf3812b0b0d06c6736fe4d83e1442640ef
tree3d91eb776b1321734283149faf2ae17de7fa787e
parent2795eedf2fbd816f1bba0e8eb5f33434a67d61c2
dmaengine: sun6i: Remove switch statement from buswidth convertion routine

Since the conversion routine is quite trivial, we don't need this switch, and
we can just use a simple calculation.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c