spmi: mtk-pmif: Drop of_match_ptr for ID table
[linux-2.6-microblaze.git] / drivers / spmi / spmi-mtk-pmif.c
index fbcb392..b3c991e 100644 (file)
@@ -529,7 +529,7 @@ MODULE_DEVICE_TABLE(of, mtk_spmi_match_table);
 static struct platform_driver mtk_spmi_driver = {
        .driver         = {
                .name   = "spmi-mtk",
-               .of_match_table = of_match_ptr(mtk_spmi_match_table),
+               .of_match_table = mtk_spmi_match_table,
        },
        .probe          = mtk_spmi_probe,
        .remove_new     = mtk_spmi_remove,