spi: core: Use list_first_entry to extract head of queue
authorAxel Lin <axel.lin@ingics.com>
Thu, 9 Jan 2014 08:03:58 +0000 (16:03 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 9 Jan 2014 13:54:07 +0000 (13:54 +0000)
commita89e2d2754246645959f1a2f91e37e9b367bfd36
tree2be6086e5c7681f2e91cd9b8c57023718a40ee0b
parent1cfd97f93e36b3f8b5d2a26147aaccae0c847a9c
spi: core: Use list_first_entry to extract head of queue

For slightly better readability.

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