spi_mpc8xxx: Factor out SPI mode change steps into a call
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 16:49:24 +0000 (20:49 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 12 Nov 2009 03:43:23 +0000 (21:43 -0600)
commita35c1710956f7aef06f58d22d343d7b948fbc272
treefc026a45ac6ccf28aa8d4e153835b850a1cab70a
parent783058fd582a1d8afbbf1d4e9b7918614a4550ff
spi_mpc8xxx: Factor out SPI mode change steps into a call

We'll add more steps soon, so get rid of the duplication.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/spi/spi_mpc8xxx.c