]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] input: fix ucb1x00-ts breakage after conversion to dynamic input_dev allocation
authorNicolas Pitre <nico@cam.org>
Mon, 12 Dec 2005 08:37:36 +0000 (00:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 16:57:45 +0000 (08:57 -0800)
commit1393c3edc307e0a2ec4274f67e342907ffd7deb5
tree08e9e2bba7013301b30ea0a51ba9651a60f61620
parent68799398cea44b81d1e919f842d8d84d471053d5
[PATCH] input: fix ucb1x00-ts breakage after conversion to dynamic input_dev allocation

The bd622663192e8ebebb27dc1d9397f352a82d2495 commit broke the UCB1x00
touchscreen driver since the idev structure was assumed to be into the ts
structure, simply casting the former to the later in a couple places.

This patch fixes those, and also cache the idev pointer between multiple
calls to input_report_abs() to avoid growing the compiled code needlessly.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mfd/ucb1x00-ts.c