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

Linus Walleij linus.walleij at linaro.org
Thu Feb 9 21:42:18 AEDT 2023


On Wed, Feb 8, 2023 at 6:34 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> 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 at linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the Linuxppc-dev mailing list