Re: [lm-sensors] Location for thermal drivers

From: Guenter Roeck
Date: Fri Nov 12 2010 - 17:07:41 EST


On Fri, 2010-11-12 at 16:53 -0500, Phil Pokorny wrote:
> On Fri, Nov 12, 2010 at 12:33 PM, Guenter Roeck
> <guenter.roeck@xxxxxxxxxxxx> wrote:
> > I think a better location for the driver would be drivers/thermal.
> > drivers/hwmon is not really a good fit, since hwmon support for thermal
> > drivers is optional. Potential problem with drivers/thermal is that
> > there are no thermal drivers in there (yet), and there does not seem to
> > be a maintainer.
>
> What is the difference between a "thermal" sensor and a "temperature"
> sensor? Aren't they the same thing?
>
The thermal framework is much more extensive than the hwmon framework.
See Documentation/thermal/sysfs-api.txt for details.

> Why does drivers/thermal exist if there are no drivers in it and no maintainer?
>
The framework resides there. Drivers supporting it are in various
platform directories.

As for why there are no drivers - only the framework - in
drivers/thermal, and why there is no maintainer - no idea.

Guenter


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/