Re: [Patch] acerhdf: Return temperature in milidegree

From: Peter Feuerer
Date: Mon Oct 19 2009 - 17:11:13 EST


Hi Boris,

Borislav Petkov writes:

Hi,

On Mon, Oct 19, 2009 at 10:21 AM, Peter Feuerer <peter@xxxxxxxx> wrote:
what do you think about this patch?

I don't think it is worth the trouble. Just compare the changes your
patch introduces with a simple

temp * 1000

you can do in userspace.

If this were a standard interface then maybe the changes could be
warranted but it doesn't seem like so...


I just had a look at the documentation concerning this topic:

Documentation/thermal/sysfs-api.txt:162

temp Current temperature as reported by thermal zone (sensor)
Unit: millidegree Celsius
RO
Required


It is expected to be in millidegree, so I think we should discuss, modify and apply the patch.

regards,
--peter
--
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/