Re: [PATCH v1 1/1] gpiolib: Use IRQ hardware number getter instead of direct access

From: Linus Walleij
Date: Mon Mar 13 2023 - 06:27:43 EST


On Thu, Mar 9, 2023 at 7:57 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> IRQ framework provides special type and getter to transform
> the Linux IRQ to the hardware pin. Use that type and getter
> function instead of direct access.
>
> While at it, amend an indentation in a couple of places.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

This is more elegant, so
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij