diff options
| author | Andy Shevchenko <[email protected]> | 2022-04-08 21:18:52 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2022-04-09 22:38:43 +0200 |
| commit | 3de69ae1c407da6cbeca75fd3ee6a40237d899dd (patch) | |
| tree | c881ef300bbe94d858f2f3c72e7f3811fcdc8303 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 66f46e370a9aec05524cdffde4062953e6ba2e08 (diff) | |
gpiolib: Refactor gpiolib_dbg_show() with help of for_each_gpio_desc()
Use for_each_gpio_desc() and since we would need to touch the entire
conditionals, do the following:
- rename last occurrence of gdesc to desc
- use short ternary operator ?:
- join two seq_printf() calls into single one
- fix indentation of the seq_printf() parameters
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions