diff options
| author | Vladimir Oltean <[email protected]> | 2019-08-18 21:01:06 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-20 14:04:59 +0100 |
| commit | 06d5dd29976fb49f3236b1e66142680619ea259d (patch) | |
| tree | 897272faa09c6d96fd2d17bf8a479ab073b9773a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 9e6f784e66cb865de25a1f5fd1706a45d9e298a7 (diff) | |
spi: spi-fsl-dspi: Change usage pattern of SPI_MCR_* and SPI_CTAR_* macros
These are macros that accept 0 or 1 as argument (a boolean value). Their
use encourages the abuse of complex ternary operations inside their
argument list, which detracts from the code readability. Replace these
with simple if-else statements.
Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions