Re: [PATCH] power: reset: qcom-pon: drop of_match_ptr for ID table
From: Krzysztof Kozlowski
Date: Fri Mar 10 2023 - 15:54:31 EST
On 10/03/2023 21:48, Marijn Suijten wrote:
> On 2023-03-10 21:06:52, Krzysztof Kozlowski wrote:
>> The Qualcomm SoC power-on driver is specific to ARCH_QCOM which depends
>> on OF thus the driver is OF-only. It's of_device_id table is built
>
> Its*
>
>> unconditionally, thus of_match_ptr() for ID table does not make sense.
>
> Agreed. Searching for of_match_ptr on any *qcom* file yields 25 results
> on a few-weeks-old tree, are you planning on assessing those too?
>
There are just few incorrect usages, I'll fix these. Rest has proper
maybe_unused or ifdef.
Best regards,
Krzysztof