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-Tag: v3.11-rc1~160^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae5e5f7bdac4a4c69235e0ae640405b174c2b92c;p=platform%2Fkernel%2Flinux-stable.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 a98dd3b..5733f8e 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, } };