#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/sysfs.h>
#include <linux/hwmon.h>
#include <linux/mutex.h>
#include <linux/mod_devicetable.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
Go to the source code of this file.
#define LM70_CHIP_LM70 0 /* original NS LM70 */ |
#define LM70_CHIP_LM71 2 /* NS LM71 */ |
#define LM70_CHIP_LM74 3 /* NS LM74 */ |
#define LM70_CHIP_TMP121 1 /* TI TMP121/TMP123 */ |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_AUTHOR |
( |
"Kaiwan N Billimoria" |
| ) |
|
MODULE_DESCRIPTION |
( |
"NS LM70 and compatibles Linux driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
lm70_ids |
|
|
) |
| |
module_spi_driver |
( |
lm70_driver |
| ) |
|