aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/lm90.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/lm90.c')
-rw-r--r--drivers/i2c/chips/lm90.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/chips/lm90.c b/drivers/i2c/chips/lm90.c
index d4da90da2eae..42795b43c8b9 100644
--- a/drivers/i2c/chips/lm90.c
+++ b/drivers/i2c/chips/lm90.c
@@ -19,7 +19,7 @@
19 * Complete datasheets can be obtained from National's website at: 19 * Complete datasheets can be obtained from National's website at:
20 * http://www.national.com/pf/LM/LM89.html 20 * http://www.national.com/pf/LM/LM89.html
21 * http://www.national.com/pf/LM/LM99.html 21 * http://www.national.com/pf/LM/LM99.html
22 * Note that there is no way to differenciate between both chips. 22 * Note that there is no way to differentiate between both chips.
23 * 23 *
24 * This driver also supports the LM86, another sensor chip made by 24 * This driver also supports the LM86, another sensor chip made by
25 * National Semiconductor. It is exactly similar to the LM90 except it 25 * National Semiconductor. It is exactly similar to the LM90 except it
@@ -39,7 +39,7 @@
39 * chips made by Maxim. These chips are similar to the LM86. Complete 39 * chips made by Maxim. These chips are similar to the LM86. Complete
40 * datasheet can be obtained at Maxim's website at: 40 * datasheet can be obtained at Maxim's website at:
41 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 41 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
42 * Note that there is no easy way to differenciate between the three 42 * Note that there is no easy way to differentiate between the three
43 * variants. The extra address and features of the MAX6659 are not 43 * variants. The extra address and features of the MAX6659 are not
44 * supported by this driver. 44 * supported by this driver.
45 * 45 *
@@ -138,9 +138,9 @@ SENSORS_INSMOD_6(lm90, adm1032, lm99, lm86, max6657, adt7461);
138/* 138/*
139 * Conversions and various macros 139 * Conversions and various macros
140 * For local temperatures and limits, critical limits and the hysteresis 140 * For local temperatures and limits, critical limits and the hysteresis
141 * value, the LM90 uses signed 8-bit values with LSB = 1 degree Celcius. 141 * value, the LM90 uses signed 8-bit values with LSB = 1 degree Celsius.
142 * For remote temperatures and limits, it uses signed 11-bit values with 142 * For remote temperatures and limits, it uses signed 11-bit values with
143 * LSB = 0.125 degree Celcius, left-justified in 16-bit registers. 143 * LSB = 0.125 degree Celsius, left-justified in 16-bit registers.
144 */ 144 */
145 145
146#define TEMP1_FROM_REG(val) ((val) * 1000) 146#define TEMP1_FROM_REG(val) ((val) * 1000)