From: Jiri Slaby Date: Mon, 5 Mar 2012 13:51:50 +0000 (+0100) Subject: TTY: let alloc_tty_driver deduce the owner automatically X-Git-Tag: v3.4-rc1~185^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a54a76d5171f3ffd89eb69f6f38d535724e3d05;p=pandora-kernel.git TTY: let alloc_tty_driver deduce the owner automatically Like the rest of the kernel, make a stub from alloc_tty_driver which calls __alloc_tty_driver with proper owner. This will save us one more assignment on the driver side. Also this fixes some drivers which didn't set the owner. This allowed user to remove the module from the system even though a tty from the driver is still open. Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed