diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-06-18 16:49:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 16:46:05 -0700 |
commit | b9b9af11fe35f509899fc5ff242b68d3299c3aef (patch) | |
tree | 037122c43eb67350eae4e0ce700afd5a2077f2e2 /drivers/scsi/dtc.c | |
parent | 9effb959dee0919991362541048479d94bd1f6e0 (diff) |
spi_mpc83xx: split mpc83xx_spi_work() into two routines
mpc83xx_spi_work() is quite large, with up to five indentation levels and
is quite difficult to read.
So, split the function in two parts:
1. mpc83xx_spi_work() now only traverse queued spi messages;
2. mpc83xx_spi_do_one_msg() only manages single messages.
There should be no functional changes.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/dtc.c')
0 files changed, 0 insertions, 0 deletions