Re: [PATCH 09/38] ASoC: samsung: smdk_wm8994: drop of_match_ptr from of_device_id table

From: Sylwester Nawrocki
Date: Fri Nov 20 2020 - 11:43:28 EST


On 11/20/20 17:16, 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 is not relevant here). This fixes
compile warning (!CONFIG_OF on x86_64):

sound/soc/samsung/smdk_wm8994.c:139:34: warning: ‘samsung_wm8994_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski<krzk@xxxxxxxxxx>

Reviewed-by: Sylwester Nawrocki <snawrocki@xxxxxxxxxx>