From: jim.cromie@gmail.com (Jim Cromie)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock when
Date: Mon, 06 Feb 2006 05:52:50 +0000 [thread overview]
Message-ID: <43E6E432.8030408@gmail.com> (raw)
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
next reply other threads:[~2006-02-06 5:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-06 5:52 Jim Cromie [this message]
2006-02-06 10:17 ` [lm-sensors] [patch 1/1] hwmon-pc87360 : avoid lock & unlock Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43E6E432.8030408@gmail.com \
--to=jim.cromie@gmail.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.