Re: [PATCH] drivers: gpio: use of_match_ptr() and ACPI_PTR() macros

From: Andy Shevchenko
Date: Wed Nov 18 2020 - 05:00:18 EST


On Wed, Nov 18, 2020 at 11:56 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Nov 18, 2020 at 11:54 AM Uwe Kleine-König
> <u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
> > On Tue, Nov 17, 2020 at 06:45:37PM +0200, Andy Shevchenko wrote:

...

> > So a system without CONFIG_OF might still make use of .of_match_table?
>
> Yep!

If you are curious:
https://elixir.bootlin.com/linux/latest/source/drivers/acpi/bus.c#L615

--
With Best Regards,
Andy Shevchenko