projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0c6727
)
usb: gadget: f_uac2: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 11:37:22 +0000
(17:07 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 15 May 2013 14:21:32 +0000
(17:21 +0300)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Acked-by: Jaswinder Singh <jaswinder.singh@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_uac2.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_uac2.c
b/drivers/usb/gadget/f_uac2.c
index c7468b6c07b0057041f63328da8cf075f6ada80b..03c1fb686644e02d34b5b0f4a9c8e847d6a6de27 100644
(file)
--- a/
drivers/usb/gadget/f_uac2.c
+++ b/
drivers/usb/gadget/f_uac2.c
@@
-456,8
+456,6
@@
static int snd_uac2_remove(struct platform_device *pdev)
{
struct snd_card *card = platform_get_drvdata(pdev);
- platform_set_drvdata(pdev, NULL);
-
if (card)
return snd_card_free(card);