diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-05-03 08:31:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 22:39:17 +0200 |
commit | e8616bd0e9f24a9265fe5db1e7963185514b445a (patch) | |
tree | aa381004d7be9623b2e712ca80280b54b05a758a /tools/perf/scripts/python/syscall-counts.py | |
parent | bb2cff419d3253aac12e7513be2b0fd7ee11ad78 (diff) |
serial: pic32: simplify pic32_sport::enable_tx_irq handling
Make it a bool, so use true+false. And remove the wrap-around macro --
i.e. access the member directly.
It makes the code more obvious.
BTW the macro did not have 'sport' in parentheses, so it was potentially
problematic wrt expansion.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503063122.20957-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions