projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f283862
)
usb: musb: cleanup while removing musb omap glue driver
author
Kishon Vijay Abraham I
<kishon@ti.com>
Thu, 2 Aug 2012 10:00:07 +0000
(15:30 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 3 Aug 2012 08:37:40 +0000
(11:37 +0300)
No functional change. Just replaced the call to platform_device_del and
platform_device_put with platform_device_unregister.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/omap2430.c
b/drivers/usb/musb/omap2430.c
index 5fdb9da8dd5685789557d762377631601912c54a..392fc7a488f2d8da98e0fb06c3d6d72c889662ca 100644
(file)
--- a/
drivers/usb/musb/omap2430.c
+++ b/
drivers/usb/musb/omap2430.c
@@
-509,8
+509,7
@@
static int __devexit omap2430_remove(struct platform_device *pdev)
struct omap2430_glue *glue = platform_get_drvdata(pdev);
cancel_work_sync(&glue->omap_musb_mailbox_work);
- platform_device_del(glue->musb);
- platform_device_put(glue->musb);
+ platform_device_unregister(glue->musb);
return 0;
}