summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-17 13:51:22 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 21:14:52 +0400
commit5c4be2fa2df2cdd5736006ebb22e4be33c68e255 (patch)
treeeb77be600f3fb3fb4607b7e2a90a93e8fa702065 /drivers
parent8c9efc6c2ac6ca534e8d51a658b83685252cda40 (diff)
downloadlinux-5c4be2fa2df2cdd5736006ebb22e4be33c68e255.tar.xz
usb: host: ohci-da8xx: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ohci-da8xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c
index 0b815a856811..6aaa9c9c8eb0 100644
--- a/drivers/usb/host/ohci-da8xx.c
+++ b/drivers/usb/host/ohci-da8xx.c
@@ -401,7 +401,6 @@ static int ohci_hcd_da8xx_drv_remove(struct platform_device *dev)
struct usb_hcd *hcd = platform_get_drvdata(dev);
usb_hcd_da8xx_remove(hcd, dev);
- platform_set_drvdata(dev, NULL);
return 0;
}