diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-04-08 21:18:52 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-04-09 22:38:43 +0200 |
commit | 3de69ae1c407da6cbeca75fd3ee6a40237d899dd (patch) | |
tree | c881ef300bbe94d858f2f3c72e7f3811fcdc8303 /samples/v4l | |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions