diff options
author | 2016-12-21 11:10:30 +0100 | |
---|---|---|
committer | 2016-12-31 18:53:16 +0000 | |
commit | cfd6693c06324174ceeac7aed570a0df67db7c4f (patch) | |
tree | d74dcce50550399c0bf6c747fe491649fddf6c85 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | spi: armada-3700: Remove unnecessary condition (diff) | |
download | wireguard-linux-cfd6693c06324174ceeac7aed570a0df67db7c4f.tar.xz wireguard-linux-cfd6693c06324174ceeac7aed570a0df67db7c4f.zip |
spi: armada-3700: Replaced raw values for nbits by the SPI macros
Currently, function a3700_spi_pin_mode_set() configures the SPI transfer
mode according to the value passed as second argument. This value is
detected using the raw values from a switch case.
This commit replaces these raw values by the corresponding macro
constants in linux/spi/spi.h
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions