diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-21 15:47:22 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-21 22:42:13 +0400 |
commit | 5462b0db83dfe9152e48c2e14bf84bd855732e20 (patch) | |
tree | 5f83ddc0d9497e1e831c7799b203296f78da080d /drivers | |
parent | 5d689168c1224faf52867458452ecf15885d00cf (diff) | |
download | linux-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')
-rw-r--r-- | drivers/usb/phy/phy-nop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }, }; |