usb: pch_udc: Fix the worning log issue at gadget driver remove
authorToshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Tue, 18 Jan 2011 11:26:27 +0000 (20:26 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Jan 2011 02:48:11 +0000 (18:48 -0800)
commit15680cdfc69a7277ba87a8a3a3242d67c4ba5916
tree616cdd9489af0ee7085fd73e7080cb43498eefca
parenta9d61bc49188e32d2ae9cf0f683cde3e1744feef
usb: pch_udc: Fix the worning log issue at gadget driver remove

When removing a serial gadget driver, the kernel warning message is outputted.
This patch fixed this issue.

The pch_udc driver did not have disconnection processing of gadget.

Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pch_udc.c