]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
usb: musb_dsps: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 30 Sep 2013 04:14:44 +0000 (09:44 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:56:23 +0000 (09:56 -0500)
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>
drivers/usb/musb/musb_dsps.c

index 4047cbb91bac4e541b914801fe8e12c92d923625..c7fe16db6bb61641e5ebaae7043d0da037a28b75 100644 (file)
@@ -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,
        },
 };