From: Sachin Kamat Date: Tue, 21 May 2013 11:47:21 +0000 (+0530) Subject: usb: host: uhci-platform: Remove redundant use of of_match_ptr X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5d689168c1224faf52867458452ecf15885d00cf;p=linux-beck.git usb: host: uhci-platform: Remove redundant use of of_match_ptr 'platform_uhci_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Cc: Tony Prisk Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 55cc1166a9ff..5382f3a8670d 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c @@ -160,6 +160,6 @@ static struct platform_driver uhci_platform_driver = { .driver = { .name = "platform-uhci", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(platform_uhci_ids), + .of_match_table = platform_uhci_ids, }, };