dmaengine: pl330: Simplify is_manager()
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:28 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:04 +0000 (22:01 +0530)
commitfbbcd9be96a0295e9d127e124f72fa0039f53d8e
treeff3d7937c8e9b8f84750af4cd42729972b836ba1
parent1b446d2a61c436f7ad542fcdb212d4e51845ac28
dmaengine: pl330: Simplify is_manager()

Since we keep a pointer to the manager thread it is fairly easy to check if a
thread is the manager thread.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c