diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 11:37:23 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 14:21:52 (GMT) |
commit | 2673976f7a80dfdf1b590e40c773aee01e62ada7 (patch) | |
tree | 51fd9436820d5e31bd975e64b4166d53d16d895e /drivers/usb | |
parent | a038391d8dcdb1408dcfd80c896fed98ac848cb2 (diff) | |
download | linux-fsl-qoriq-2673976f7a80dfdf1b590e40c773aee01e62ada7.tar.xz |
usb: gadget: imx_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: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/imx_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c index b5cebd6..9b2d24e 100644 --- a/drivers/usb/gadget/imx_udc.c +++ b/drivers/usb/gadget/imx_udc.c @@ -1511,8 +1511,6 @@ static int __exit imx_udc_remove(struct platform_device *pdev) if (pdata->exit) pdata->exit(&pdev->dev); - platform_set_drvdata(pdev, NULL); - return 0; } |