1
linux/drivers/hwmon
Jean Delvare 7f999aa726 hwmon: Simplify the locking model of two drivers
Many hardware monitoring drivers use two different mutexes, one to
protect their per-device data structure, and one to protect the
access to the device registers. These mutexes are essentially
redundant, as the drivers are transfering values between the device
registers and the data cache, so they almost always end up holding
both mutexes at the same time. Using a single mutex will make the
code more simple and faster.

I am changing only two of the affected drivers here, the authors
of the other affected drivers are welcome to submit similar patches
if they want.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-02-14 21:15:03 +01:00
..
ams [PATCH] hwmon: ansify 2007-02-09 09:14:06 -08:00
abituguru.c [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
adm1021.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1025.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1026.c hwmon: Drop unused mutexes in two drivers 2007-02-14 21:15:03 +01:00
adm1031.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm9240.c adm9240: Update Grant Coady's email address 2006-10-18 13:03:08 -07:00
asb100.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
atxp1.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
ds1621.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
f71805f.c hwmon: Simplify the locking model of two drivers 2007-02-14 21:15:03 +01:00
fscher.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
fscpos.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl518sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl520sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
hdaps.c hwmon/hdaps: Update the list of supported devices 2006-12-12 18:18:28 +01:00
hwmon-vid.c hwmon: Fix the VRD 11 decoding 2007-01-18 22:14:23 +01:00
hwmon.c [PATCH] hwmon: add required idr locking 2006-03-23 14:21:55 -08:00
it87.c hwmon: Simplify the locking model of two drivers 2007-02-14 21:15:03 +01:00
k8temp.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
Kconfig hwmon: New AMS hardware monitoring driver 2006-12-12 18:18:30 +01:00
lm63.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm70.c [PATCH] lm70: New hardware monitoring driver 2006-06-22 11:10:35 -07:00
lm75.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
lm75.h [PATCH] hwmon: move SENSORS_LIMIT to hwmon.h 2005-09-05 09:14:17 -07:00
lm77.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm78.c hwmon: Let w83781d and lm78 load again 2006-10-18 13:03:09 -07:00
lm80.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm83.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm85.c hwmon: Drop unused mutexes in two drivers 2007-02-14 21:15:03 +01:00
lm87.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm90.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm92.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
Makefile hwmon: New AMS hardware monitoring driver 2006-12-12 18:18:30 +01:00
max1619.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
pc87360.c hwmon/pc87360: Autodetect the VRM version 2006-12-12 18:18:28 +01:00
pc87427.c hwmon: New PC87427 hardware monitoring driver 2006-12-12 18:18:29 +01:00
sis5595.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
smsc47b397.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
smsc47m1.c smsc47m1: List the SMSC LPC47M112 as supported 2006-10-18 13:03:08 -07:00
smsc47m192.c hwmon: Fix unchecked return status, SMSC chips 2006-09-28 15:31:19 -07:00
via686a.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
vt1211.c hwmon: New driver for the VIA VT1211 2006-09-28 15:31:16 -07:00
vt8231.c i2c/vt8231: Remove superfluous initialization 2007-02-13 22:08:58 +01:00
w83l785ts.c w83l785ts: Fix unchecked return status 2006-09-28 15:31:18 -07:00
w83627ehf.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
w83627hf.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
w83781d.c hwmon: Fix debug messages in w83781d 2006-10-18 13:03:09 -07:00
w83791d.c w83791d: Fix unchecked return status 2006-10-18 13:03:08 -07:00
w83792d.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
w83793.c hwmon/w83793: Hide invalid VID readings 2007-01-18 22:14:24 +01:00