aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/atmel_tsadcc.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-07-23 14:38:27 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-07-23 14:41:28 -0400
commit9460b6529d8a0bfabf241ddda8b0e469d219844c (patch)
tree53c1bd90ef0510c661cb52a011bd274983322801 /drivers/input/touchscreen/atmel_tsadcc.c
parentInput: ads7846 - fix sparse endian warnings (diff)
downloadlinux-dev-9460b6529d8a0bfabf241ddda8b0e469d219844c.tar.xz
linux-dev-9460b6529d8a0bfabf241ddda8b0e469d219844c.zip
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 <hans-christian.egtvedt@atmel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/atmel_tsadcc.c')
0 files changed, 0 insertions, 0 deletions