diff options
| author | 2022-04-08 21:18:52 +0300 | |
|---|---|---|
| committer | 2022-04-09 22:38:43 +0200 | |
| commit | 3de69ae1c407da6cbeca75fd3ee6a40237d899dd (patch) | |
| tree | c881ef300bbe94d858f2f3c72e7f3811fcdc8303 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | gpiolib: Split out for_each_gpio_desc() macro (diff) | |
| download | linux-dev-3de69ae1c407da6cbeca75fd3ee6a40237d899dd.tar.xz linux-dev-3de69ae1c407da6cbeca75fd3ee6a40237d899dd.zip | |
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/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
