hwspinlock: omap: drop of_match_ptr for ID table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 12 May 2023 16:45:20 +0000 (18:45 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Jun 2023 15:15:24 +0000 (08:15 -0700)
commit1b39e7607144337d752f36c2068ed79447462f99
tree02e0d25200a5b75630ef93c56686125fefdd972f
parentac9a78681b921877518763ba0e89202254349d1b
hwspinlock: omap: drop of_match_ptr for ID table

The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it might not be relevant here).

  drivers/hwspinlock/omap_hwspinlock.c:164:34: error: ‘omap_hwspinlock_of_match’ defined but not used [-Werror=unused-const-variable=]

Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230512164520.212312-1-krzysztof.kozlowski@linaro.org
drivers/hwspinlock/omap_hwspinlock.c