diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-21 17:17:22 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-28 20:14:39 +0300 |
commit | 7a22cc9709bb2cb0c4ffed1fa0979b8b4909f6b7 (patch) | |
tree | 86f40e8fb8f668f50f24e82c413ec7cb78798aea /drivers | |
parent | e823aa7c6d36932e37370156eac143a6dde4affb (diff) | |
download | linux-7a22cc9709bb2cb0c4ffed1fa0979b8b4909f6b7.tar.bz2 |
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 <stern@rowland.harvard.edu>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
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 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, }, }; |