From: Sachin Kamat Date: Tue, 21 May 2013 11:47:22 +0000 (+0530) Subject: usb: phy: phy-nop: Remove redundant use of of_match_ptr X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7a22cc9709bb2cb0c4ffed1fa0979b8b4909f6b7;p=openwrt%2Fstaging%2Fblogic.git usb: phy: phy-nop: Remove redundant use of of_match_ptr 'nop_xceiv_dt_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Acked-by: Alan Stern Signed-off-by: Sachin Kamat Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c index 638cc5dade35..55445e5d72e5 100644 --- a/drivers/usb/phy/phy-nop.c +++ b/drivers/usb/phy/phy-nop.c @@ -270,7 +270,7 @@ static struct platform_driver nop_usb_xceiv_driver = { .driver = { .name = "nop_usb_xceiv", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(nop_xceiv_dt_ids), + .of_match_table = nop_xceiv_dt_ids, }, };