diff options
author | 2020-04-20 20:27:50 +0300 | |
---|---|---|
committer | 2020-04-29 13:19:38 +0200 | |
commit | 6f793485fc03fe832e1abcf0682efd7b4419ae2d (patch) | |
tree | 8b84d3fff6d004f075f4a487dc20032be367c90b /tools/perf/scripts/python/stackcollapse.py | |
parent | gpiolib: devprop: Warn if gpio-line-names is too long (diff) | |
download | linux-dev-6f793485fc03fe832e1abcf0682efd7b4419ae2d.tar.xz linux-dev-6f793485fc03fe832e1abcf0682efd7b4419ae2d.zip |
gpio: pca953x: Rewrite ->get_multiple() function
The commit 96d7c7b3e654 ("gpio: gpio-pca953x, Add get_multiple function")
basically did everything wrong from style and code reuse perspective, i.e.
- it didn't utilize existing PCA953x internal helpers
- it didn't utilize bitmap API
- it misses the point that ilog2(), besides that BANK_SFT is useless,
can be used in macros
- it has indentation issues.
Rewrite the function completely.
Cc: Paul Thomas <pthomas8589@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions