Re: [PATCH] w1: Allow compile test of GPIO consumers if !GPIOLIB

From: Linus Walleij
Date: Tue Jun 26 2018 - 03:33:53 EST


On Thu, Jun 21, 2018 at 8:54 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is
> not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer
> functionality only, can still be compiled if GPIOLIB is not enabled.
>
> Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where
> appropriate.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Acked-by: Evgeniy Polyakov <zbr@xxxxxxxxxxx>
> ---
> v3:
> - Add Acked-by,

I think my last change to w1 I just put into the GPIO tree.

Should I simply carry this patch in the GPIO tree?

Yours,
Linus Walleij