From: Jiri Slaby Date: Thu, 18 Oct 2012 20:26:29 +0000 (+0200) Subject: TTY: devpts, do not set driver_data X-Git-Tag: omap-for-v3.8/cleanup-headers-serial-take2-signed~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f11afb61247016162aa92225a337c1575556c9d9;p=pandora-kernel.git TTY: devpts, do not set driver_data 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. Now driver_data are managed only in the pty driver. devpts_pty_new is switched to accept what we used to dig out of tty_struct, i.e. device node number and index. This also removes a note about driver_data being set outside of the driver. Signed-off-by: Jiri Slaby Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed