spi: mxs: Use list_for_each_entry to iterate over transfer list
authorAxel Lin <axel.lin@ingics.com>
Wed, 5 Feb 2014 09:47:59 +0000 (17:47 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 12:20:37 +0000 (12:20 +0000)
commit9a7da6cc1d952b70284e34a594486045eadba8d5
tree60b924a9db15a32b8a681d6baf8636414c3aa380
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: mxs: Use list_for_each_entry to iterate over transfer list

We don't modify the list entry while iterating the transfer list.
So use list_for_each_entry instead of list_for_each_entry_safe.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-mxs.c