From: Jon Povey Date: Mon, 14 Jun 2010 10:42:10 +0000 (+0900) Subject: USB: g_serial: fix tty cleanup on unload X-Git-Tag: v2.6.35-rc4~18^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b23097b793081358a6d943263c91bae4c955c4e3;p=pandora-kernel.git USB: g_serial: fix tty cleanup on unload Call put_tty_driver() in cleanup function, to fix Oops when trying to open gadget serial char device after module unload. Signed-off-by: Jon Povey Acked-by: David Brownell Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed