Input: uinput - reversed test in uinput_setup_device()
authorDan Carpenter <error27@gmail.com>
Fri, 18 Feb 2011 16:30:52 +0000 (08:30 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Feb 2011 09:02:34 +0000 (01:02 -0800)
commit163d27706bb91a648cc292151fc072e1e8cd4b4d
tree9779106dc86b5da5e8493b77987455c46b626e6f
parent919ed895f0b4227da26ea1b0a1347db5010f105e
Input: uinput - reversed test in uinput_setup_device()

The test here is reversed. It should be if (IS_ERR()) instead of
if (!IS_ERR()).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c