YesBTW, I have another problem as commit log described:
-->
The path of these sysfs interfaces are modified accordingly if use hwmon_device_register_with_info():
Old: all sysfs interfaces are under acpi device, namely, path is "/sys/class/hwmon/hwmon1/device/" ('device' in the path is a soft link of acpi device)
Now: all sysfs interfaces are under hwmon device, namely, path is "/sys/class/hwmon/hwmon1/"
What do you think about this?
That is as intended. The ABI states that the attributes are under
/sys/class/hwmon/hwmonX _or_ /sys/class/hwmon/hwmonX/device/.
The ABI does not guarantee that the underlying path remains the same.
libsensors handles this automatically, as should any userspace programsSo we don't need to care or handle this change of syfs path, right?
accessing the attributes directly.