spi/bitbang: (cosmetic) simplify list manipulation
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 21 May 2012 11:25:17 +0000 (13:25 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 14 Nov 2012 15:38:15 +0000 (15:38 +0000)
commitedba9bf99dfb20d316abd164d9027479010dbf9d
tree1107893971e521bc96dc4fd92bf0e3e5789be7d5
parentb82b576bc7ffb9785ad3248825ab20496b018e0c
spi/bitbang: (cosmetic) simplify list manipulation

Use a proper list iterator instead of an open-coded loop and remove a
superfluous list head initialisation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-bitbang.c