diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 13:52:21 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 16:22:56 +0200 |
commit | c21b7eeaeeb8cdeecbb3c14204eecf604071620f (patch) | |
tree | 6ee8ec80ecc042c7a670c2055b263d551b1b35d2 /drivers/usb/phy/phy-mv-usb.c | |
parent | usb: phy: gpio-vbus-usb: Remove redundant platform_set_drvdata() (diff) | |
download | linux-c21b7eeaeeb8cdeecbb3c14204eecf604071620f.tar.xz linux-c21b7eeaeeb8cdeecbb3c14204eecf604071620f.zip |
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; } |