Re: [RFT PATCH] hwmon: (k10temp) Convert to devm_hwmon_device_register_with_groups

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

 



On 08/15/2014 01:57 PM, Clemens Ladisch wrote:
Guenter Roeck wrote:
Use devm_hwmon_device_register_with_groups() to simplify the code
and reduce code size.

Cc: Clemens Ladisch <clemens@xxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
Would be great if someone with access to hardware can test this patch
and let me know if it works. Thanks!

The {name,temp*} files moved from /sys/devices/pci0000:00/0000:00:18.3/ to
/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/.  (And my own little script
of course does not use libsensors.)

Yes, with the new API the attributes are attached to the hwmon device.


Tested-by: Clemens Ladisch <clemens@xxxxxxxxxx>

Thanks!

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




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

  Powered by Linux