Re: [PATCH leds v2 05/50] leds: various: guard of_match_table member value with of_match_ptr

From: Sakari Ailus
Date: Fri Sep 18 2020 - 02:15:16 EST

Hi Marek,

On Fri, Sep 18, 2020 at 12:32:53AM +0200, Marek Behún wrote:
> Change
> .of_match_table = xxx,
> to
> .of_match_table = of_match_ptr(xxx),
> in various drivers.
> This should be standard even for drivers that depend on OF.

After this patch, none of these drivers will work on ACPI systems anymore.

How many of them really depend on OF?


Sakari Ailus