summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-06-25 08:47:35 -0400
committerMark M. Hoffman <mhoffman@lightlink.com>2008-07-31 23:44:03 -0400
commite89e22b23bceb3fbbcfb931ad17a564b7c1eaa55 (patch)
tree906ac1a3699e51fc06d3efd3fc3679c8481cc7e3 /net/Kconfig
parent7133e56f29030b13601d3399e20050053e560860 (diff)
downloadlinux-3.10-e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55.tar.gz
linux-3.10-e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55.tar.bz2
linux-3.10-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 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions