From: Hans-Christian Egtvedt Date: Wed, 23 Jul 2008 18:38:27 +0000 (-0400) Subject: Input: ads7846 - optimize order of calculating Rt in ads7846_rx() X-Git-Tag: v2.6.27-rc1~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9460b6529d8a0bfabf241ddda8b0e469d219844c;p=pandora-kernel.git Input: ads7846 - optimize order of calculating Rt in ads7846_rx() Alter the if expression for calculating Rt. The old implementation would run unnecessary code when the ADS7843 device was used. The patch also fixes the code style to kernel standard. Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed