All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim.cromie@gmail.com (Jim Cromie)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [patch 1/2] hwmon/pc87360: use SENSOR_ATTR_2 instead
Date: Thu, 26 Jan 2006 19:27:58 +0000	[thread overview]
Message-ID: <43D922BE.8040801@gmail.com> (raw)

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

hwmon-pc87360-use-sensor-attr-2.patch  converts SENSOR_ATTRs
to SENSOR_ATTR_2s,  and adds a bunch of #defines for the new member's 
values. 

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

$ diffstat hwmon-pc87360-use-sensor-attr-2.patch
 pc87360.c |  492 
++++++++++++++++++++++++++++++++++----------------------------
 1 files changed, 277 insertions(+), 215 deletions(-)

The defines use different integers for each attr, which allows
all of the show_X handlers to also be combined in 1 big switch.
Im not doing so, but somebody might want to.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-pc87360-use-sensor-attr-2.patch
Type: text/x-patch
Size: 36103 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060126/20ecbda2/hwmon-pc87360-use-sensor-attr-2-0001.bin

                 reply	other threads:[~2006-01-26 19:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=43D922BE.8040801@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.