dmaengine: shdma: (cosmetic) simplify a static function
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Jul 2012 10:29:37 +0000 (12:29 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Jul 2012 05:53:44 +0000 (11:23 +0530)
commit341f4dc5dcecbf60f038055db177845b9af480ed
tree4431a10310f0b5f1398d7d3d3423ccf569da0e89
parent7fd63ccdad72335fd820b0ce5cb8edb6ca6419ce
dmaengine: shdma: (cosmetic) simplify a static function

dmae_find_slave() needs only the slave_id field from the slave object, no
need to pass the pointer to the object, pass the slave_id directly.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/sh/shdma.c