diff options
| author | Oscar Carter <[email protected]> | 2020-03-28 15:17:38 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-04-13 08:55:27 +0200 |
| commit | 3b643f431162469009f38998a4d328d62496cecf (patch) | |
| tree | 61b1eb9d30c31170a68b75f1341b84ded879820a /tools/perf/scripts/python | |
| parent | 3d7b79f2ee473daa547722b5a14d4028ef68d097 (diff) | |
staging: vt6656: Use defines in preamble_type variables
Use the PREAMBLE_SHORT and PREAMBLE_LONG defines present in the file
"baseband.h" to assign values to preamble_type variables. Also, use the
same defines to make comparisons against these variables.
In this way, avoid the use of numerical literals or boolean values and
make the code more clear.
Signed-off-by: Oscar Carter <[email protected]>
Reviewed-by: Quentin Deslandes <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions