dma: tegra: use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Sep 2012 07:08:56 +0000 (15:08 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 14 Sep 2012 03:08:10 +0000 (08:38 +0530)
commit2cc44e63184245c2b977ca8739b2e8aab63e3d38
treed41164dac85df12298bf160b8573e05308417d1a
parent5e97fa91492b4943f25228e08d24abb31e5bce50
dma: tegra: use list_move_tail instead of list_del/list_add_tail

Using list_move_tail() instead of list_del() + list_add_tail().

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/tegra20-apb-dma.c