]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03b1a28edc6a6c836f38400777715a834bb49f51
tree2be6086e5c7681f2e91cd9b8c57023718a40ee0b
parent339b0809d8da4bb7100bdce9165fbac08b12b3db
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