[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VdmC2QyVYz_QcbgpdMwkJ5VndUwp=rmk=b0KSZcwZrqkg@mail.gmail.com>
Date: Fri, 11 Dec 2020 20:58:15 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: chenlei0x@...il.com
Cc: Linus Walleij <linus.walleij@...aro.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Lei Chen <lennychen@...cent.com>
Subject: Re: [PATCH] driver: pinctrl: fix unused variable warning
On Fri, Dec 11, 2020 at 1:46 PM <chenlei0x@...il.com> wrote:
>
> From: Lei Chen <lennychen@...cent.com>
>
> In pinctrl_pins_show, range, gpio_num and chip variables are not used if
> CONFIG_GPIOLIB is not defined. Use this macro to wrap them.
>
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/drivers/pinctrl/core.c?h=for-next&id=b507cb92477ad85902783a183c5ce01d16296687
Rule of thumb: base your patches on the latest subsystem tree snapshot.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists