From: Jiri Slaby Date: Mon, 2 Apr 2012 11:53:51 +0000 (+0200) Subject: TTY: isdn, do not play with module refcounts X-Git-Tag: v3.5-rc1~146^2~30^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce93d33cf45db9893cfc725a2b470da15bfe4435;p=pandora-kernel.git TTY: isdn, do not play with module refcounts The module which called allocate_tty_driver is already refcounted by the TTY layer automatically. And since THIS_MODULE is isdn_tty and it allocated the tty_driver, there is no need to do the counts in isdn's tty->ops->open/close. Signed-off-by: Jiri Slaby Cc: Karsten Keil Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed