diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 13:37:25 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 16:22:14 +0200 |
commit | 03fc1d84e13a26cdbd376b3a2658a64d2b978cd3 (patch) | |
tree | f7886e610d6b9f73af76928484e6eb686400637c /drivers/usb | |
parent | usb: gadget: pxa25x_udc: Remove redundant platform_set_drvdata() (diff) | |
download | linux-03fc1d84e13a26cdbd376b3a2658a64d2b978cd3.tar.xz linux-03fc1d84e13a26cdbd376b3a2658a64d2b978cd3.zip |
usb: gadget: s3c2410_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>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/s3c2410_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c index d0e75e1b3ccb..7f5e3a66d02a 100644 --- a/drivers/usb/gadget/s3c2410_udc.c +++ b/drivers/usb/gadget/s3c2410_udc.c @@ -1948,8 +1948,6 @@ static int s3c2410_udc_remove(struct platform_device *pdev) iounmap(base_addr); release_mem_region(rsrc_start, rsrc_len); - platform_set_drvdata(pdev, NULL); - if (!IS_ERR(udc_clock) && udc_clock != NULL) { clk_disable(udc_clock); clk_put(udc_clock); |