diff options
author | Andy Shevchenko <[email protected]> | 2021-10-22 16:51:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-26 08:41:00 +0200 |
commit | 35b4f17231923e2f64521bdf7a2793ce2c3c74a6 (patch) | |
tree | ec2a7be1f36ae288dfd3f8a497f30b7b0b5f56c5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7c0408d805797178f075f33d0f705a1c6ef76c82 (diff) |
serial: 8250_pci: Refactor the loop in pci_ite887x_init()
The loop can be refactored by using ARRAY_SIZE() instead of NULL terminator.
This reduces code base and makes it easier to read and understand.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Jiri Slaby <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions