commit | c3a6344ae475763b6fb0fb2ec3639004f500d0f1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 16 16:16:56 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 16 12:07:23 2012 -0700 |
tree | 3279f1e5f5651d322a2177da2108f465bd9c194d | |
parent | 88ed2a60610974443335c924d7cb8e5dcf9dbdc1 [diff] |
TTY: tty_alloc_driver() returns error pointers We changed these from alloc_tty_driver() to tty_alloc_driver() so the error handling needs to modified to check for IS_ERR() instead of NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>