From: Jiri Slaby Date: Wed, 9 Nov 2011 20:33:44 +0000 (+0100) Subject: TTY: serial, cleanup atmel_set_ldisc X-Git-Tag: v3.3-rc1~154^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54bf3b24908cd4f6a1d24276f795cfbccba5a3f;p=pandora-kernel.git TTY: serial, cleanup atmel_set_ldisc Current ldisc number is passed as a paramneter -- no need to dig it out of the tty or ldisc. So switch PPS check to that. No tty callback can be called with port->line higher than TTY driver num. So remove the check. This removes some port.tty users. Signed-off-by: Jiri Slaby Cc: Alan Cox Cc: Viktar Palstsiuk Cc: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed