Re: lm-senser can't detect thermal on thermal_zone

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

 



Hi Zhang

Thank you for your feedback

> > > > > > *thermal_zone_device_register(xxxx)
> > > > > > {
> > > > > > 	...
> > > > > > 	if (!tz->tzp || !tz->tzp->no_hwmon) {
> > > > > > 		result = thermal_add_hwmon_sysfs(tz);
> > > > > > 		...
> > > > > > 	}
> > > > > > 	...
> > > > > > }
(snip)
> I don't know if there is a solid reason that we can not expose the
> hwmon interface. But just like the comment says, "/* No hwmon because
> there might be hwmon drivers registering */", given that of_thermal
> just parses THERMAL data of device tree, it is reasonable to me for
> exposing thermal interfaces only.

I see.
I will re-consider my driver, and will send patch.
Thanks



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux