spi: pxa2xx: Move is_lpss_ssp() tests to caller
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 18 Dec 2014 13:04:20 +0000 (15:04 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2014 20:17:23 +0000 (20:17 +0000)
commit7566bcc76b15186172c4db0414cf30c8a61e4a73
tree2bfd10720184cd1c6a1f9d9bbce978f0b214cca5
parent2db73d4482da9bd979edee345e95bb3a88441b30
spi: pxa2xx: Move is_lpss_ssp() tests to caller

Move is_lpss_ssp() tests from functions to caller. Although this aims to
improve readability it also saves a few code bytes on x86.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c