summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 11:47:22 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 18:42:13 (GMT)
commit5462b0db83dfe9152e48c2e14bf84bd855732e20 (patch)
tree5f83ddc0d9497e1e831c7799b203296f78da080d /drivers/usb
parent5d689168c1224faf52867458452ecf15885d00cf (diff)
downloadlinux-fsl-qoriq-5462b0db83dfe9152e48c2e14bf84bd855732e20.tar.xz
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 <sachin.kamat@linaro.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/phy/phy-nop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c
index 2b10cc9..74815be 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,
},
};