Re: [PATCH] pinctrl: core: Fix unused variable build warnings

2020-12-01 Thread Linus Walleij
On Mon, Nov 23, 2020 at 11:41 PM Pawan Gupta wrote: > A recent commit f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs > file") added build warnings when CONFIG_GPIOLIB=n. Offcourse the kernel > fails to build when warnings are treated as errors. Below is the error > message: > > $ make

Re: [PATCH] pinctrl: core: Fix unused variable build warnings

2020-11-25 Thread Drew Fustini
On Mon, Nov 23, 2020 at 11:51:29PM -0800, Pawan Gupta wrote: > On Mon, Nov 23, 2020 at 09:06:18PM -0800, Drew Fustini wrote: > > On Mon, Nov 23, 2020 at 02:33:33PM -0800, Pawan Gupta wrote: > > > A recent commit f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs > > > file") added build warni

Re: [PATCH] pinctrl: core: Fix unused variable build warnings

2020-11-23 Thread Drew Fustini
On Mon, Nov 23, 2020 at 02:33:33PM -0800, Pawan Gupta wrote: > A recent commit f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs > file") added build warnings when CONFIG_GPIOLIB=n. Offcourse the kernel > fails to build when warnings are treated as errors. Below is the error > message: > >