diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2019-10-16 12:42:40 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-10-21 16:50:05 +0200 |
commit | 8e53622594f5530b5a86094464937dda47fc6e3b (patch) | |
tree | d4a58ab4b9cff038de6ce48a1fe65551b15f2cbb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8dfa620e3d70d3eceff59943b29257949505dd33 (diff) | |
download | linux-8e53622594f5530b5a86094464937dda47fc6e3b.tar.gz linux-8e53622594f5530b5a86094464937dda47fc6e3b.tar.bz2 linux-8e53622594f5530b5a86094464937dda47fc6e3b.zip |
pwm: stm32: Remove clutter from ternary operator
Remove usage of the ternary operator to assign values for register
fields. Instead, parameterize the register and field offset macros
and pass the index to them.
This removes clutter and improves readability.
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions