From: Sachin Kamat Date: Tue, 21 May 2013 11:47:16 +0000 (+0530) Subject: usb: host: ehci-platform: Remove redundant use of of_match_ptr X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae5e5f7bdac4a4c69235e0ae640405b174c2b92c;p=linux-beck.git usb: host: ehci-platform: Remove redundant use of of_match_ptr 'vt8500_ehci_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index a98dd3b45610..5733f8ed98f1 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -223,7 +223,7 @@ static struct platform_driver ehci_platform_driver = { .owner = THIS_MODULE, .name = "ehci-platform", .pm = &ehci_platform_pm_ops, - .of_match_table = of_match_ptr(vt8500_ehci_ids), + .of_match_table = vt8500_ehci_ids, } };