diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 17:22:21 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 17:22:56 +0300 |
commit | c21b7eeaeeb8cdeecbb3c14204eecf604071620f (patch) | |
tree | 6ee8ec80ecc042c7a670c2055b263d551b1b35d2 /drivers/usb/phy/phy-mv-usb.c | |
parent | a9b1bddc7a171c89b4fd4c132202b5b2118f3905 (diff) |
usb: phy: mv-usb: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-mv-usb.c')
-rw-r--r-- | drivers/usb/phy/phy-mv-usb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/phy/phy-mv-usb.c b/drivers/usb/phy/phy-mv-usb.c index c987bbe27851..4a6b03c73876 100644 --- a/drivers/usb/phy/phy-mv-usb.c +++ b/drivers/usb/phy/phy-mv-usb.c @@ -667,7 +667,6 @@ int mv_otg_remove(struct platform_device *pdev) mv_otg_disable(mvotg); usb_remove_phy(&mvotg->phy); - platform_set_drvdata(pdev, NULL); return 0; } @@ -850,8 +849,6 @@ err_destroy_workqueue: flush_workqueue(mvotg->qwork); destroy_workqueue(mvotg->qwork); - platform_set_drvdata(pdev, NULL); - return retval; } |