summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-softirq.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 18:31:48 (GMT)
committerJean Delvare <khali@endymion.delvare>2010-10-28 18:31:48 (GMT)
commit39deb6993e7c22274c272c95013eef886f7004e8 (patch)
tree212af4c4e49ecf64174981c336ebd6ca15bcfb59 /lib/locking-selftest-softirq.h
parentcd316df582925f3dab1ce5863651b3e260687035 (diff)
downloadlinux-fsl-qoriq-39deb6993e7c22274c272c95013eef886f7004e8.tar.xz
hwmon: (w83795) Simplify temperature sensor type handling
All 3 temperature sensor type sysfs functions (show_temp_mode, store_temp_mode and show_dts_mode) can be simplified. We don't create these files when the correponding input isn't in temperature monitoring mode, so there is no point in handling that case. Likewise, we don't allow changing inputs from temperature to voltage, so the code handling this case is dead and can be removed. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions