diff options
author | Trent Piepho <[email protected]> | 2013-10-01 13:15:40 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-10-18 01:00:32 +0100 |
commit | aa9e0c6feb3e06463b45b0d9734a2cdbf95c4431 (patch) | |
tree | 843355f971b8a030cf4aba13aa8d0f586fe72cdb /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d426eadb1ef166b472b09a223c30d3104fde2586 (diff) |
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 <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Shawn Guo <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions