diff options
author | David Brownell <david-b@pacbell.net> | 2008-04-21 15:10:53 -0400 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-07-31 23:44:02 -0400 |
commit | 01a52397e95a8532c59506691759dba9262d6be7 (patch) | |
tree | 8429252add519af666178398de7cdfaef500402f /drivers/hwmon/Kconfig | |
parent | 321c4138573da888ca30a387e9973f690c217e9e (diff) |
hwmon: (lm75) cleanup/reorg
Minor cleanup and reorg of the lm75 code.
- Kconfig provides a larger list of lm75-compatible chips
- A top comment now says what the driver does (!) ... as in, just
what sort of sensor is this??
- Section comments now delineate the various sections of the driver:
hwmon attributes, driver binding, register access, module glue.
One driver binding function moved out of the attribute section,
as did the driver struct itself.
- Minor tweaks to legacy probe logic: correct a comment, and
remove a pointless variable.
- Whitespace, linelength, and comment fixes.
This patch should include no functional changes. It's preparation
for adding new-style (driver model) I2C driver binding.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 00ff53348491..86289c283dc8 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -394,13 +394,19 @@ config SENSORS_LM75 | |||
394 | tristate "National Semiconductor LM75 and compatibles" | 394 | tristate "National Semiconductor LM75 and compatibles" |
395 | depends on I2C | 395 | depends on I2C |
396 | help | 396 | help |
397 | If you say yes here you get support for National Semiconductor LM75 | 397 | If you say yes here you get support for one common type of |
398 | sensor chips and clones: Dallas Semiconductor DS75 and DS1775 (in | 398 | temperature sensor chip, with models including: |
399 | 9-bit precision mode), and TelCom (now Microchip) TCN75. | 399 | |
400 | 400 | - Dallas Semiconductor DS75 and DS1775 | |
401 | The DS75 and DS1775 in 10- to 12-bit precision modes will require | 401 | - Maxim MAX6625 and MAX6626 |
402 | a force module parameter. The driver will not handle the extra | 402 | - Microchip MCP980x |
403 | precision anyhow. | 403 | - National Semiconductor LM75 |
404 | - NXP's LM75A | ||
405 | - ST Microelectronics STDS75 | ||
406 | - TelCom (now Microchip) TCN75 | ||
407 | - Texas Instruments TMP100, TMP101, TMP75, TMP175, TMP275 | ||
408 | |||
409 | Most of these chips will require a "force" module parameter. | ||
404 | 410 | ||
405 | This driver can also be built as a module. If so, the module | 411 | This driver can also be built as a module. If so, the module |
406 | will be called lm75. | 412 | will be called lm75. |