From: Dan Carpenter Date: Thu, 16 Aug 2012 13:16:56 +0000 (+0300) Subject: TTY: tty_alloc_driver() returns error pointers X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a6344ae475763b6fb0fb2ec3639004f500d0f1;p=pandora-kernel.git 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 Acked-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed