Re: [PATCH v3 6/7] gpio: ep93xx: refactor ep93xx_gpio_add_bank

From: Andy Shevchenko
Date: Thu Jan 28 2021 - 11:19:07 EST


On Thu, Jan 28, 2021 at 2:21 PM Nikita Shubin <nikita.shubin@xxxxxxxxxxx> wrote:

> - replace plain numbers with girq->num_parents in devm_kcalloc

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

--
With Best Regards,
Andy Shevchenko