From: Chris Hudson <chudson@xxxxxxxxxx> Small bug fix patch against the driver version in Dmitry's queue. Resulting driver tested on hardware in both polled and IRQ modes. Signed-off-by: Chris Hudson <chudson@xxxxxxxxxx> --- drivers/input/misc/kxtj9.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/misc/kxtj9.c b/drivers/input/misc/kxtj9.c index 1788390..1799430 100644 --- a/drivers/input/misc/kxtj9.c +++ b/drivers/input/misc/kxtj9.c @@ -426,7 +426,7 @@ static int __devinit kxtj9_setup_polled_device(struct kxtj9_data *tj9) struct input_polled_dev *poll_dev; poll_dev = input_allocate_polled_device(); - if (!tj9->poll_dev) { + if (!poll_dev) { dev_err(&tj9->client->dev, "Failed to allocate polled device\n"); return -ENOMEM; -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html