From: Sachin Kamat Date: Thu, 19 Dec 2013 09:04:59 +0000 (+0530) Subject: PCI: mvebu: Remove redundant of_match_ptr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=339135ff1b5fca9a323ca7af67cebefedf50d4e7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git PCI: mvebu: Remove redundant of_match_ptr mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is not required. Signed-off-by: Sachin Kamat Signed-off-by: Bjorn Helgaas Acked-by: Thomas Petazzoni --- diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 6f35df5fedce..afd2af04980c 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1007,8 +1007,7 @@ static struct platform_driver mvebu_pcie_driver = { .driver = { .owner = THIS_MODULE, .name = "mvebu-pcie", - .of_match_table = - of_match_ptr(mvebu_pcie_of_match_table), + .of_match_table = mvebu_pcie_of_match_table, /* driver unloading/unbinding currently not supported */ .suppress_bind_attrs = true, },