#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
Go to the source code of this file.
#define LM73_ID 0x9001 /* 0x0190, byte-swapped */ |
#define LM73_REG_CONF 0x01 |
#define LM73_REG_CTRL 0x04 |
#define LM73_REG_INPUT 0x00 |
#define LM73_REG_MAX 0x02 |
#define LM73_REG_MIN 0x03 |
#define LM73_TEMP_MAX 150 |
#define LM73_TEMP_MIN (-40) |
MODULE_DESCRIPTION |
( |
"LM73 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
lm73_ids |
|
|
) |
| |
module_i2c_driver |
( |
lm73_driver |
| ) |
|