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-Tag: firefly_0821_release~176^2~5847^2~100 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5462b0db83dfe9152e48c2e14bf84bd855732e20;p=firefly-linux-kernel-4.4.55.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. Signed-off-by: Sachin Kamat Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c index 2b10cc969bbb..74815beab0d9 100644 --- a/drivers/usb/phy/phy-nop.c +++ b/drivers/usb/phy/phy-nop.c @@ -272,7 +272,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, }, };