Re: [PATCH] W1: w1_therm.c standardize units to millidegrees C

2008-01-24 Thread David Fries
On Thu, Jan 24, 2008 at 05:53:32PM +0300, Evgeniy Polyakov wrote: > On Thu, Jan 24, 2008 at 02:39:09PM +0200, Ville Syrj??l?? ([EMAIL PROTECTED]) > wrote: > > Why isn't w1_therm presented as a hwmon device? > > First, because it was created way earlier, second, because it is not a > hardware moni

Re: [PATCH] W1: w1_therm.c standardize units to millidegrees C

2008-01-24 Thread Evgeniy Polyakov
On Thu, Jan 24, 2008 at 02:39:09PM +0200, Ville Syrjälä ([EMAIL PROTECTED]) wrote: > Why isn't w1_therm presented as a hwmon device? First, because it was created way earlier, second, because it is not a hardware monitor :) Feel free to create a driver to bind thermal sensors to hwmon framework,

Re: [PATCH] W1: w1_therm.c standardize units to millidegrees C

2008-01-24 Thread Ville Syrjälä
On Wed, Jan 23, 2008 at 08:03:30PM -0600, David Fries wrote: > Here is the patch to standardize the temperature units to millidegrees > C for the two sensor conversion routines. Previously the routines > were, > > w1_DS18B20_convert_temp degrees C > w1_DS18S20_convert_temp millidegrees C > > Unf