Browse Source

usb: musb_dsps: Remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Ravi B <ravibabu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Sachin Kamat 12 years ago
parent
commit
b432cb8374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/musb/musb_dsps.c

+ 1 - 1
drivers/usb/musb/musb_dsps.c

@@ -628,7 +628,7 @@ static struct platform_driver dsps_usbss_driver = {
 	.remove         = dsps_remove,
 	.driver         = {
 		.name   = "musb-dsps",
-		.of_match_table	= of_match_ptr(musb_dsps_of_match),
+		.of_match_table	= musb_dsps_of_match,
 	},
 };