aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-03-30 22:06:09 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-03-30 22:06:09 -0800
commit2f8ccbc0bd0365c581be7819949120927501529e (patch)
treeb0ea9f629ee098793efa840d49bdc2b17f3c4adb
parentc32de391c35d5f6da1e61f2b3f1648b3dd6b77ae (diff)
downloadhistory-2f8ccbc0bd0365c581be7819949120927501529e.tar.gz
[PATCH] I2C: Cleanup adm1021 unused defines
While working on the adm1021 driver, I found that this driver has a number of unused (and useless) defines we could get rid of. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/i2c/chips/adm1021.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
index 5dd7f64fdddd42..697ae07bc0089a 100644
--- a/drivers/i2c/chips/adm1021.c
+++ b/drivers/i2c/chips/adm1021.c
@@ -28,18 +28,6 @@
#include <linux/i2c-sensor.h>
-/* Registers */
-#define ADM1021_SYSCTL_TEMP 1200
-#define ADM1021_SYSCTL_REMOTE_TEMP 1201
-#define ADM1021_SYSCTL_DIE_CODE 1202
-#define ADM1021_SYSCTL_ALARMS 1203
-
-#define ADM1021_ALARM_TEMP_HIGH 0x40
-#define ADM1021_ALARM_TEMP_LOW 0x20
-#define ADM1021_ALARM_RTEMP_HIGH 0x10
-#define ADM1021_ALARM_RTEMP_LOW 0x08
-#define ADM1021_ALARM_RTEMP_NA 0x04
-
/* Addresses to scan */
static unsigned short normal_i2c[] = { 0x18, 0x19, 0x1a,
0x29, 0x2a, 0x2b,