All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock when
@ 2006-02-06  5:52 Jim Cromie
  2006-02-06 10:17 ` [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Cromie @ 2006-02-06  5:52 UTC (permalink / raw)
  To: lm-sensors

From:  Jim Cromie <jim.cromie at gmail.com>

Modifies pc87360_update_device() to avoid locking & unlocking
when data is not actually being resampled.  Also re-indented
the body of the function, removing the now extra tabs.

Signed-off-by:  Jim Cromie <jim.cromie at gmail.com>

----

patch applies over:
linux-2.6.16-rc1-mm4
+ hwmon-pc87360-use-sensor-attr-2.patch
+ hwmon-pc87360-sysfs-combo-callbacks.patch

or without the 2 patches, with  (offset -34 lines).

$ diffstat hwmon-pc87360-lock-only-when-sampling.patch
 pc87360.c |  158 
+++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 79 insertions(+), 79 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-pc87360-lock-only-when-sampling.patch
Type: text/x-patch
Size: 6213 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060206/ebddd2e9/hwmon-pc87360-lock-only-when-sampling-0001.bin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-06 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  5:52 [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock when Jim Cromie
2006-02-06 10:17 ` [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.