summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-07-31 21:45:27 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 09:14:20 -0700
commit96478ef3f3f71fa929cc905cc794993e312d9a5d (patch)
tree0d2200f9b89937944029880cd24f18d157d91901 /include
parent2ed2dc3c116d26fc6a9384e83d136b15cc203b6c (diff)
[PATCH] hwmon: hwmon vs i2c, second round (05/11)
The i2c_detect function has no more user, delete it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c-sensor.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
index fc9284af9fae..1563d445dfd1 100644
--- a/include/linux/i2c-sensor.h
+++ b/include/linux/i2c-sensor.h
@@ -200,11 +200,4 @@
NULL }; \
SENSORS_INSMOD
-/* Detect function. It iterates over all possible addresses itself. For
- SMBus addresses, it will only call found_proc if some client is connected
- to the SMBus (unless a 'force' matched). */
-extern int i2c_detect(struct i2c_adapter *adapter,
- struct i2c_client_address_data *address_data,
- int (*found_proc) (struct i2c_adapter *, int, int));
-
#endif /* def _LINUX_I2C_SENSOR_H */