Input: kxtj9 - fix bug in probe()
authorDan Carpenter <error27@gmail.com>
Wed, 20 Jul 2011 06:12:21 +0000 (23:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 Jul 2011 06:18:05 +0000 (23:18 -0700)
commit4fd9fcf7c1ee6c339504525b43ad5e77334ff1b5
tree59ad64a27b1e727bd77c8645dd4ee7ee9542d44d
parente449edbb91decd0260105fadd4f5fcc3ce170e01
Input: kxtj9 - fix bug in probe()

We are testing the wrong variable here.  I believe tj9->input_dev
is always NULL at this point, so probe() will fail.

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