Re: [PATCH v2 6/6] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n

2021-01-25 Thread Arnd Bergmann
On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd wrote: > > This effectively reverts 1db73ae39a97 ("of/device: Nullify match table > in of_match_device() for CONFIG_OF=n") because that commit makes it more > surprising to users of this API that the arguments may never be > referenced by any code.

Re: [PATCH v2 6/6] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n

2021-01-25 Thread Geert Uytterhoeven
On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd wrote: > This effectively reverts 1db73ae39a97 ("of/device: Nullify match table > in of_match_device() for CONFIG_OF=n") because that commit makes it more > surprising to users of this API that the arguments may never be > referenced by any code. This

[PATCH v2 6/6] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n

2021-01-22 Thread Stephen Boyd
This effectively reverts 1db73ae39a97 ("of/device: Nullify match table in of_match_device() for CONFIG_OF=n") because that commit makes it more surprising to users of this API that the arguments may never be referenced by any code. This is because the pre-processor will replace the argument with