soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 26 Jul 2022 14:16:51 +0000 (16:16 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 25 Aug 2022 13:27:51 +0000 (15:27 +0200)
commit1cd80c06784dd55dca97ce10c5f97bcaa3a417ef
tree780e801dc2a672c1092a935693b11a8f07aa1cab
parent93cd9b3e60b62dbf399b88603fbc18256d45db6c
soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table

If CONFIG_OF is not set, we get a -Wunused-const-variable: dropping
of_match_ptr() solves that issue.

Fixes: 681a02e95000 ("soc: mediatek: SVS: introduce MTK SVS engine")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220726141653.177948-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c