diff options
author | Hans-Christian Egtvedt <[email protected]> | 2008-07-23 14:38:27 -0400 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2008-07-23 14:41:28 -0400 |
commit | 9460b6529d8a0bfabf241ddda8b0e469d219844c (patch) | |
tree | 53c1bd90ef0510c661cb52a011bd274983322801 /net/unix/sysctl_net_unix.c | |
parent | 494f685775ee4c2f3db4081209f00ff0633243fc (diff) |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions