summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@gmail.com>2013-10-01 13:15:40 -0700
committerMark Brown <broonie@linaro.org>2013-10-18 01:00:32 +0100
commitaa9e0c6feb3e06463b45b0d9734a2cdbf95c4431 (patch)
tree843355f971b8a030cf4aba13aa8d0f586fe72cdb /virt/kvm
parentd426eadb1ef166b472b09a223c30d3104fde2586 (diff)
downloadop-kernel-dev-aa9e0c6feb3e06463b45b0d9734a2cdbf95c4431.zip
op-kernel-dev-aa9e0c6feb3e06463b45b0d9734a2cdbf95c4431.tar.gz
spi: spi-mxs: Clean up setup_transfer function
It can't be called with a NULL transfer anymore so it can be simplified to not check for that. Fix indention of line-wrapped code to Linux standard. The transfer pointer can be const. It's not necessary to check if the spi_transfer's speed_hz is zero, as the spi core also fills it in from the spi_device. However, the spi core does not check if spi_device's speed is zero so we have to do that still. Signed-off-by: Trent Piepho <tpiepho@gmail.com> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud