From: Anton Vorontsov Date: Thu, 18 Jun 2009 23:49:06 +0000 (-0700) Subject: spi_mpc83xx: split mpc83xx_spi_work() into two routines X-Git-Tag: v2.6.31-rc1~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b9af11fe35f509899fc5ff242b68d3299c3aef;p=pandora-kernel.git 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 Cc: Kumar Gala Cc: David Brownell Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed