diff options
author | Nikita Shubin <nikita.shubin@maquefel.me> | 2021-02-09 16:31:09 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-02-15 13:43:34 +0300 |
commit | f6b61541865f79807a43d3dec791eb0d6fc95d26 (patch) | |
tree | 15ee915855267e54c15e9ee1ceb38a5ef0fbaee8 /scripts/gdb/linux/proc.py | |
parent | 78f85c73e63cc70003e19e2cbb7f9abdd883b1ab (diff) | |
download | linux-f6b61541865f79807a43d3dec791eb0d6fc95d26.tar.xz |
gpio: ep93xx: refactor ep93xx_gpio_add_bank
- replace plain numbers with girq->num_parents in devm_kcalloc
- replace plain numbers with girq->num_parents for port F
- refactor i - 1 to i + 1 to make loop more readable
- combine getting IRQ's loop and setting handler's into single loop
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions