Re: CONFIG_THERMAL_HWMON in thermal_sys.c

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

 



On Tue, 11 Sep 2012 06:45:05 -0700, Guenter Roeck wrote:
> I do wonder what is going to happen with existing hwmon temperature sensor
> drivers which are needed as thermal drivers. Re-write/copy ?

Have them register as thermal devices and leave their hwmon interface
unchanged?

For simple temperature sensor devices, the current situation (expose
thermal devices as hwmon devices automatically) works well, but if a
more complex devices (with, say, voltage sensors) needs to be exposed
as a thermal device then it doesn't work. If we want to handle this
case, then I see no alternative to having each driver implement both
interfaces.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux