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

From: Geert Uytterhoeven
Date: Tue Jun 26 2018 - 03:36:34 EST


Hi Linus,

On Tue, Jun 26, 2018 at 9:34 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> 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?

Fine for me ;-)

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds