summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/phy-nop.c')
-rw-r--r--drivers/usb/phy/phy-nop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c
index 2b10cc969bb..55445e5d72e 100644
--- a/drivers/usb/phy/phy-nop.c
+++ b/drivers/usb/phy/phy-nop.c
@@ -254,8 +254,6 @@ static int nop_usb_xceiv_remove(struct platform_device *pdev)
usb_remove_phy(&nop->phy);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}
@@ -272,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,
},
};