[lm-sensors] [patchset 4/23] pc87360 fan device_attributes --> sensor-device-attributes
Jim Cromie
jcromie at divsol.com
Mon Aug 1 21:57:49 CEST 2005
upgrade fan device_attributes to sensor-device-attributes, following
Yani's form
a. change declarations: DEVICE_ATTR -> SENSOR_DEVICE_ATTR
b. compute sensor_dev_attr from dev_attr, with
to_sensor_dev_attr(devattr)
c. change calls to device_create_file() to match.
[jimc at harpo pset]$ diffstat 03-sda-fan
pc87360.c | 65
+++++++++++++++++++++++++++++++++-----------------------------
1 files changed, 35 insertions(+), 30 deletions(-)
Signed-off-by: Jim Cromie <jcromie at divsol.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 03-sda-fan
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050801/e002d4c8/attachment.pl
More information about the lm-sensors
mailing list