diff options
| author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 07:52:23 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 10:23:41 -0400 |
| commit | 8fe61203687a67eb1db338a4b7198a8037ca96c8 (patch) | |
| tree | c191e4b6f72c319a1aaf26dec0bfc7c638b6a9d4 /drivers/usb/phy | |
| parent | 99f80cfc00084a4aa87372095cca7a279db12ce2 (diff) | |
usb: phy: nop: 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>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
| -rw-r--r-- | drivers/usb/phy/phy-nop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c index 2b10cc969bbb..638cc5dade35 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) | |||
| 254 | 254 | ||
| 255 | usb_remove_phy(&nop->phy); | 255 | usb_remove_phy(&nop->phy); |
| 256 | 256 | ||
| 257 | platform_set_drvdata(pdev, NULL); | ||
| 258 | |||
| 259 | return 0; | 257 | return 0; |
| 260 | } | 258 | } |
| 261 | 259 | ||
