lm77.c (310ec79210d754afe51e2e4a983e846b60179abd) lm77.c (c3813d6af177fab19e322f3114b1f64fbcf08d71)
1/*
2 lm77.c - Part of lm_sensors, Linux kernel modules for hardware
3 monitoring
4
5 Copyright (c) 2004 Andras BALI <drewie@freemail.hu>
6
7 Heavily based on lm75.c by Frodo Looijaard <frodol@dds.nl>. The LM77
8 is a temperature sensor and thermal window comparator with 0.5 deg

--- 77 unchanged lines hidden (view full) ---

86 .class = I2C_CLASS_HWMON,
87 .driver = {
88 .name = "lm77",
89 },
90 .probe = lm77_probe,
91 .remove = lm77_remove,
92 .id_table = lm77_id,
93 .detect = lm77_detect,
1/*
2 lm77.c - Part of lm_sensors, Linux kernel modules for hardware
3 monitoring
4
5 Copyright (c) 2004 Andras BALI <drewie@freemail.hu>
6
7 Heavily based on lm75.c by Frodo Looijaard <frodol@dds.nl>. The LM77
8 is a temperature sensor and thermal window comparator with 0.5 deg

--- 77 unchanged lines hidden (view full) ---

86 .class = I2C_CLASS_HWMON,
87 .driver = {
88 .name = "lm77",
89 },
90 .probe = lm77_probe,
91 .remove = lm77_remove,
92 .id_table = lm77_id,
93 .detect = lm77_detect,
94 .address_data = &addr_data,
94 .address_list = normal_i2c,
95};
96
97/* straight from the datasheet */
98#define LM77_TEMP_MIN (-55000)
99#define LM77_TEMP_MAX 125000
100
101/* In the temperature registers, the low 3 bits are not part of the
102 temperature values; they are the status bits. */

--- 339 unchanged lines hidden ---
95};
96
97/* straight from the datasheet */
98#define LM77_TEMP_MIN (-55000)
99#define LM77_TEMP_MAX 125000
100
101/* In the temperature registers, the low 3 bits are not part of the
102 temperature values; they are the status bits. */

--- 339 unchanged lines hidden ---