Re: [PATCH v4 16/18] gpiolib: Deduplicate forward declarations in consumer.h

From: Linus Walleij
Date: Thu Feb 09 2023 - 05:43:04 EST


On Wed, Feb 8, 2023 at 6:34 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> The struct fwnode_handle pointer is used in both branches of ifdeffery,
> no need to have a copy of the same in each of them, just make it global.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij