spi: tegra114: Use list_is_last() instead of open-coded
authorAxel Lin <axel.lin@ingics.com>
Wed, 15 Jan 2014 06:07:04 +0000 (14:07 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:25:39 +0000 (12:25 +0000)
commit971e9084beb50c0b244ff95ef2d888f7d158b8a8
treea50cbc0e49b1ba0880700477e72884cbcfaa6248
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: tegra114: Use list_is_last() instead of open-coded

For better readability, and then we can remove the comment for last transfer.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra114.c