All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [patch 1/2] hwmon/pc87360: use SENSOR_ATTR_2 instead
@ 2006-01-26 19:27 Jim Cromie
  0 siblings, 0 replies; only message in thread
From: Jim Cromie @ 2006-01-26 19:27 UTC (permalink / raw)
  To: lm-sensors

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-26 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-26 19:27 [lm-sensors] [patch 1/2] hwmon/pc87360: use SENSOR_ATTR_2 instead Jim Cromie

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.