ARM: msm: dma: use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Sep 2012 06:53:46 +0000 (14:53 +0800)
committerDavid Brown <davidb@codeaurora.org>
Thu, 13 Sep 2012 18:12:50 +0000 (11:12 -0700)
commit6eebf2de9e315dbad4f5f5d8f9faa249a38f5f09
treefc2b36f693cbcbaf25d6206afdec221fca4dd474
parent3b5909deb3ed276727d248a5289954a142b2c686
ARM: msm: dma: 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>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/dma.c