spi: pxa2xx-pci: Do a specific setup in a separate function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Jul 2016 09:44:24 +0000 (12:44 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2016 14:13:42 +0000 (16:13 +0200)
commit743485ea3bee852fa816a2ec6c64b3d500e39895
tree1db6a0e3996f84db78ec43b6849ea6d144e19e8a
parent704d2b07946fcae68afd86c222fde129e11f6bbc
spi: pxa2xx-pci: Do a specific setup in a separate function

Move LPSS specific setup to a separate function. It makes ->probe() cleaner as
well as allows extend the driver for different variation of hardware in the
future, e.g. for Intel Merrifield.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c