[patchset 10/23] pc87360 thermistor dev-attr --> sensor-dev-attr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



upgrade thermistor 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 06-sda-therm
 pc87360.c |   74 
++++++++++++++++++++++++++++++++++----------------------------
 1 files changed, 41 insertions(+), 33 deletions(-)

Signed-off-by:  Jim Cromie <jcromie at divsol.com>


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 06-sda-therm
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050801/48e85ee6/attachment.pl 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux