From: Jiri Slaby Date: Thu, 18 Oct 2012 20:26:27 +0000 (+0200) Subject: TTY: devpts, don't care about TTY in devpts_get_tty X-Git-Tag: omap-for-v3.8/cleanup-headers-serial-take2-signed~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fcbaa2b7f5b70dba9ed1c7f91d0a270ce752e2c;p=pandora-kernel.git TTY: devpts, don't care about TTY in devpts_get_tty The goal is to stop setting and using tty->driver_data in devpts code. It should be used solely by the driver's code, pty in this case. First, here we remove TTY from devpts_get_tty and rename it to devpts_get_priv. Note we do not remove type safety, we just shift the [implicit] (void *) cast one layer up. index was unused in devpts_get_tty, so remove that from the prototype too. Signed-off-by: Jiri Slaby Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed