summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/genapic.h
diff options
context:
space:
mode:
authorJean Delvare2008-06-25 14:47:35 +0200
committerMark M. Hoffman2008-08-01 05:44:03 +0200
commite89e22b23bceb3fbbcfb931ad17a564b7c1eaa55 (patch)
tree906ac1a3699e51fc06d3efd3fc3679c8481cc7e3 /include/asm-x86/genapic.h
parenthwmon: (lm85) Don't write back cached values (diff)
downloadkernel-qcow2-linux-e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55.tar.gz
kernel-qcow2-linux-e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55.tar.xz
kernel-qcow2-linux-e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55.zip
hwmon: (lm85) Misc cleanups
Misc cleanups to the lm85 hardware monitoring driver: * Mark constant arrays as const. * Remove useless masks. * Have lm85_write_value return void - nobody is checking the returned value anyway and in some cases it was plain wrong. * Remove useless initializations. * Rename new_client to client in lm85_detect. * Replace cascaded if/else with a switch/case in lm85_detect. * Group similar loops in lm85_update_device. * Remove legacy comments. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'include/asm-x86/genapic.h')
0 files changed, 0 insertions, 0 deletions