android_kernel_xiaomi_sm8350/drivers/w1/slaves
David Fries 7129b126cc W1: w1_therm.c standardize units to millidegrees C
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

Unfortunately this will break any program using the ds18b20 value as it
will now be 1000 times bigger.  Fortunately there can't be that many users
out there, or some of these bugs will have been fixed by now, such as the
negative C error (see previous patch) that makes me think the ds18b20 is
the better choice to change because of the current bugs.

Signed-off-by: David Fries <david@fries.net>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:10 -08:00
..
Kconfig Use menuconfig objects: W1 2007-07-16 09:05:40 -07:00
Makefile
w1_ds2433.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
w1_ds2760.c
w1_ds2760.h
w1_smem.c
w1_therm.c W1: w1_therm.c standardize units to millidegrees C 2008-02-06 10:41:10 -08:00