aboutsummaryrefslogtreecommitdiff
path: root/kernel/pm_qos_params.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 07:45:03 +0000
committerLen Brown <len.brown@intel.com>2009-12-09 15:54:32 -0500
commit463b4e474ed0905ffc27ee347648739dbfb03acc (patch)
treea707fc29971b1217ce52810e69abe84375105ce1 /kernel/pm_qos_params.c
parent6b188a7b218cb33d918e72f24995341f949297d2 (diff)
eeepc-laptop: simplify how the hwmon device reads values from the EC
The hwmon device uses ec_write() to write values to the EC. So for consistency it should use ec_read() to read values. The extra layers of indirection used did not add any value. This may mean we no longer take the ACPI global lock for such reads (if the EC operation region requires the lock and the EC does not). But there is no point locking each one-byte read individually, when write operations do not use the lock at all. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/pm_qos_params.c')
0 files changed, 0 insertions, 0 deletions