From: Sachin Kamat Date: Tue, 21 May 2013 11:47:18 +0000 (+0530) Subject: usb: host: ehci-orion: Remove redundant use of of_match_ptr X-Git-Tag: firefly_0821_release~176^2~5847^2~104 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a703d7e279d072f2720d91d502f1a98356db3349;p=firefly-linux-kernel-4.4.55.git usb: host: ehci-orion: Remove redundant use of of_match_ptr 'ehci_orion_dt_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Cc: Tzachi Perelstein Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 54c579485150..29cc4a3a07a3 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c @@ -303,7 +303,7 @@ static struct platform_driver ehci_orion_driver = { .driver = { .name = "orion-ehci", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(ehci_orion_dt_ids), + .of_match_table = ehci_orion_dt_ids, }, };