diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 17:07:20 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 17:20:32 +0300 |
commit | e80ad12389e12813888b7ce45d6f5986d6f41779 (patch) | |
tree | 5b129ef30418c7b70281a416a6180b4a4702029a /drivers/usb/gadget | |
parent | fb00d6931ab9154cb4d66891909e54907be0798f (diff) | |
download | op-kernel-dev-e80ad12389e12813888b7ce45d6f5986d6f41779.zip op-kernel-dev-e80ad12389e12813888b7ce45d6f5986d6f41779.tar.gz |
usb: gadget: bcm63xx_udc: 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: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/bcm63xx_udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers/usb/gadget/bcm63xx_udc.c index 6e65182..9780c57 100644 --- a/drivers/usb/gadget/bcm63xx_udc.c +++ b/drivers/usb/gadget/bcm63xx_udc.c @@ -2420,7 +2420,6 @@ static int bcm63xx_udc_remove(struct platform_device *pdev) usb_del_gadget_udc(&udc->gadget); BUG_ON(udc->driver); - platform_set_drvdata(pdev, NULL); bcm63xx_uninit_udc_hw(udc); return 0; |