From: Nicolas Pitre Date: Mon, 12 Dec 2005 08:37:36 +0000 (-0800) Subject: [PATCH] input: fix ucb1x00-ts breakage after conversion to dynamic input_dev allocation X-Git-Tag: v2.6.15-rc6~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1393c3edc307e0a2ec4274f67e342907ffd7deb5;p=pandora-kernel.git [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 Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed