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

Sylwester Nawrocki snawrocki at kernel.org
Fri Nov 20 17:43:22 CET 2020


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 at kernel.org>

Reviewed-by: Sylwester Nawrocki <snawrocki at kernel.org>


More information about the Alsa-devel mailing list