summaryrefslogtreecommitdiff
path: root/drivers/input/misc/kxtj9.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-30Input: kxtj9 - explicitly include module.hStephen Rothwell1-0/+1
We need to explicitly include module.h since some of its facilities are used. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-07-20Input: kxtj9 - fix locking typo in kxtj9_set_poll()Dan Carpenter1-1/+1
According to the comments we want to call mutex_lock() here instead of mutex_unlock(). That makes more sense. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-07-20Input: kxtj9 - fix bug in probe()Dan Carpenter1-1/+1
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>
2011-07-07Input: add support for Kionix KXTJ9 accelerometerChris Hudson1-0/+671
Signed-off-by: Chris Hudson <chudson@kionix.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>