Messages in this thread | | | From | Andy Shevchenko <> | Date | Wed, 28 Oct 2020 22:26:33 +0200 | Subject | Re: [PATCH v2] gpio: mockup: Allow probing from device tree |
| |
On Wed, Oct 28, 2020 at 10:25 PM Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > On Wed, Oct 28, 2020 at 8:41 PM Bartosz Golaszewski <brgl@bgdev.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
| |