Re: [PATCH v2] gpio: mockup: Allow probing from device tree
From: Andy Shevchenko
Date: Wed Oct 28 2020 - 18:22:00 EST
On Wed, Oct 28, 2020 at 10:25 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Oct 28, 2020 at 8:41 PM Bartosz Golaszewski <brgl@xxxxxxxx> 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