summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-04-22 21:32:48 -0700
committerChristoph Hellwig <hch@lst.de>2003-04-22 21:32:48 -0700
commit15ff4843faeb1e963a6f2b1b1590d7b60f581f9b (patch)
tree9ad124edced4f983a64d6f7a73f2fbd47a3e2bc8 /include
parentf52d1d03ed0c320f69f18ae6c0f0e046baf523ba (diff)
[PATCH] i2c: remove dead junk from i2c-sensors.h
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c-sensor.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
index 0f33aaf297e3..a3181c83a750 100644
--- a/include/linux/i2c-sensor.h
+++ b/include/linux/i2c-sensor.h
@@ -22,18 +22,6 @@
#ifndef _LINUX_I2C_SENSOR_H
#define _LINUX_I2C_SENSOR_H
-#include <linux/sysctl.h>
-
-/* The type of callback functions used in sensors_{proc,sysctl}_real */
-typedef void (*i2c_real_callback) (struct i2c_client * client,
- int operation, int ctl_name,
- int *nrels_mag, long *results);
-
-/* Values for the operation field in the above function type */
-#define SENSORS_PROC_REAL_INFO 1
-#define SENSORS_PROC_REAL_READ 2
-#define SENSORS_PROC_REAL_WRITE 3
-
/* A structure containing detect information.
Force variables overrule all other variables; they force a detection on
that place. If a specific chip is given, the module blindly assumes this
@@ -350,24 +338,4 @@ static inline int SENSORS_LIMIT(long value, long low, long high)
else
return value;
}
-
-
-/* The maximum length of the prefix */
-#define SENSORS_PREFIX_MAX 20
-
-/* Sysctl IDs */
-#ifdef DEV_HWMON
-#define DEV_SENSORS DEV_HWMON
-#else /* ndef DEV_HWMOM */
-#define DEV_SENSORS 2 /* The id of the lm_sensors directory within the
- dev table */
-#endif /* def DEV_HWMON */
-
-#define SENSORS_CHIPS 1
-struct i2c_chips_data {
- int sysctl_id;
- char name[SENSORS_PREFIX_MAX + 13];
-};
-
#endif /* def _LINUX_I2C_SENSOR_H */
-