'platform_uhci_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
Cc: Tony Prisk <li...@prisktech.co.nz>
---
 drivers/usb/host/uhci-platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
index 90bcf45..e11b70a 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,
        },
 };
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to