From c1bf8cdab59178c312984d74d3305d47adb5c468 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Tue, 23 Oct 2012 13:36:06 +0800 Subject: [PATCH] --- yaml --- r: 338589 b: refs/heads/master c: b415c8fa9ee46f07a5a8c0dbf34c75519290a912 h: refs/heads/master i: 338587: 5022bf306758d3537f0bb7b124b9986aa228ec8d v: v3 --- [refs] | 2 +- trunk/drivers/usb/musb/musb_dsps.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 37f3b7a6b962..7160dd498c7f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 12a71f5b1ce510335c720443b6eec691ed3cf906 +refs/heads/master: b415c8fa9ee46f07a5a8c0dbf34c75519290a912 diff --git a/trunk/drivers/usb/musb/musb_dsps.c b/trunk/drivers/usb/musb/musb_dsps.c index 444346e1e10d..828d2a216d94 100644 --- a/trunk/drivers/usb/musb/musb_dsps.c +++ b/trunk/drivers/usb/musb/musb_dsps.c @@ -565,8 +565,7 @@ static int __devinit dsps_create_musb_pdev(struct dsps_glue *glue, u8 id) static void dsps_delete_musb_pdev(struct dsps_glue *glue, u8 id) { musb_put_id(glue->dev, glue->musb[id]->id); - platform_device_del(glue->musb[id]); - platform_device_put(glue->musb[id]); + platform_device_unregister(glue->musb[id]); } static int __devinit dsps_probe(struct platform_device *pdev)