Skip to content

Commit

Permalink
usb: phy: phy-nop: Remove redundant use of of_match_ptr
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Sachin Kamat authored and Felipe Balbi committed May 28, 2013
1 parent e823aa7 commit 7a22cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/phy/phy-nop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 7a22cc9

Please sign in to comment.