]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pic32-sqi: use list_move_tail and list_move
authorWei Yongjun <weiyj.lk@gmail.com>
Thu, 28 Jul 2016 16:19:47 +0000 (16:19 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:56:40 +0000 (11:56 +0100)
commit88b5aa227cd1e718aabb8d84baa0c9a0255c21b1
treed23fdb05aab6bea2c1a684110e18d515a1931e7f
parent1372dac0367f9e37512ea4720cf3886bcb42562d
spi: pic32-sqi: use list_move_tail and list_move

Using list_move_tail() and list_move() to simplify the code.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pic32-sqi.c