Re: (subset) [PATCH] memory: ti-emif-pm: Drop of_match_ptr from of_device_id table

From: Krzysztof Kozlowski
Date: Mon Feb 08 2021 - 14:00:03 EST


On Sat, 6 Feb 2021 12:13:43 +0100, Krzysztof Kozlowski wrote:
> 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 be not relevant here). This
> fixes compile warning (!CONFIG_OF with clang):
>
> drivers/memory/ti-emif-pm.c:238:34: warning:
> unused variable 'ti_emif_of_match' [-Wunused-const-variable]

Applied, thanks!

[1/1] memory: ti-emif-pm: Drop of_match_ptr from of_device_id table
commit: 62c290a6784af56fa1438f6d2688cd9360c840f1

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>