diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-12-11 00:06:00 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-01-30 15:55:27 +0100 |
commit | a87f901b59326c12313dbf224cc4591ae2c63785 (patch) | |
tree | 46629b3e1f7f1c13f80e1a4a5c2bc406f02eb295 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1453d1eb93fd34848082fd181ff247f19c0ee86 (diff) |
gpio: pca953x: Clean up pcal6534_check_register()
The pcal6534_check_register() is a bit too verbose.
Clean up it, by deduplicating some operations and
switching to the modulo operation as on some architectures
/ and % can become a single assembly instruction.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions