[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeQnYB79EyXbBDT1UN-ekCA_wWPuDoEenFUBdciGPzPkg@mail.gmail.com>
Date: Wed, 28 Oct 2020 22:26:33 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Vincent Whitchurch <vincent.whitchurch@...s.com>,
Bamvor Jian Zhang <bamv2005@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
kernel@...s.com, devicetree <devicetree@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpio: mockup: Allow probing from device tree
On Wed, Oct 28, 2020 at 10:25 PM Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
> On Wed, Oct 28, 2020 at 8:41 PM Bartosz Golaszewski <brgl@...ev.pl> wrote:
...
> It's not so. If you drop ugly ifdeffery (and I vote for that, see also
It's not so -> It's not so simple.
> above) the of_match_ptr() must be dropped as well.
> Otherwise the compiler will issue the warning. So it is either all or none.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists