Re: [PATCH v2 1/2] gpiolib: Provide to_gpio_device() helper
From: Linus Walleij
Date: Mon Nov 28 2022 - 15:40:26 EST
On Mon, Nov 28, 2022 at 8:00 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> Provide to_gpio_device() helper which can be utilized in the existing
> and future code.
>
> While at it, make sure it becomes no-op at compilation time.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Looks helpful.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij