projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2673976
)
usb: gadget: pxa25x_udc: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 11:37:24 +0000
(17:07 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 15 May 2013 14:22:06 +0000
(17:22 +0300)
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: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pxa25x_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/pxa25x_udc.c
b/drivers/usb/gadget/pxa25x_udc.c
index
ef47495
..
95c531d
100644
(file)
--- a/
drivers/usb/gadget/pxa25x_udc.c
+++ b/
drivers/usb/gadget/pxa25x_udc.c
@@
-2236,7
+2236,6
@@
static int __exit pxa25x_udc_remove(struct platform_device *pdev)
dev->transceiver = NULL;
}
- platform_set_drvdata(pdev, NULL);
the_controller = NULL;
return 0;
}