staging: sb105x: move dereference under IS_ERR() check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Jan 2013 07:10:59 +0000 (10:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 00:43:20 +0000 (16:43 -0800)
Avoid dereverencing the ERR_PTR() by shifting the dereference down a
couple lines.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found