media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Mar 2023 13:13:18 +0000 (13:13 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 14 May 2023 05:30:16 +0000 (06:30 +0100)
commitae11c0efaec32fb45130ee9886689f467232eebc
tree5a0c4d51c024c0c6af222629fd8f424964dd804f
parent517a281338322ff8293f988771c98aaa7205e457
media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table

The driver will match mostly by DT table (even thought there is regular
ID table) so there is little benefit in of_match_ptr (this also allows
ACPI matching via PRP0001, even though it might not be relevant here).
This also fixes !CONFIG_OF error:

  drivers/media/dvb-frontends/mn88443x.c:782:34: error: ‘mn88443x_of_match’ defined but not used [-Werror=unused-const-variable=]

Link: https://lore.kernel.org/linux-media/20230312131318.351173-28-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/dvb-frontends/mn88443x.c