Browse Source

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 <sachin.kamat@linaro.org>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sachin Kamat 12 years ago
parent
commit
5d689168c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/host/uhci-platform.c

+ 1 - 1
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,
 	},
 };