summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx.h
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-09-15 15:26:27 +0200
committerMark Brown <broonie@kernel.org>2015-09-17 19:36:14 +0200
commit196b0e2cf2373f43d7b0e8c1a63e9d528c06e1df (patch)
treee5eabdd47fc29a514fa805ade471bfa801f1088e /drivers/spi/spi-pxa2xx.h
parentspi: pxa2xx: Remove two variables from struct chip_data (diff)
downloadlinux-196b0e2cf2373f43d7b0e8c1a63e9d528c06e1df.tar.xz
linux-196b0e2cf2373f43d7b0e8c1a63e9d528c06e1df.zip
spi: pxa2xx: Remove if statement that is always true in pump_transfers()
This is continuation to previous commit by separating unindentation from variable removal done in previous commit. As said SPI core have validated both the speed_hz and bits_per_word and the if statement here evaluates always to true. Remove the test and unindent the code block accordingly. While at it remove also needless "cr0 = chip->cr0" as cr0 will be overwritten anyway and fix block comment style. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
0 files changed, 0 insertions, 0 deletions