aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 16:58:18 +0200
committerJean Delvare <khali@linux-fr.org>2009-06-19 16:58:18 +0200
commit36789b5ea52bba961122b45f4383f553ec3b5a6c (patch)
tree8e4b23645de92f07c806b4ded07e6a6ed234a65d /include
parent729d6dd571464954f625e6b80950d9e4e3bd94f7 (diff)
i2c: Drop i2c_probe function
The legacy i2c_probe() function has no users left, get rid of it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 43a3545670b..db25a870843 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -419,14 +419,6 @@ extern void i2c_release_client(struct i2c_client *client);
extern void i2c_clients_command(struct i2c_adapter *adap,
unsigned int cmd, void *arg);
-/* Detect function. It iterates over all possible addresses itself.
- * It will only call found_proc if some client is connected at the
- * specific address (unless a 'force' matched);
- */
-extern int i2c_probe(struct i2c_adapter *adapter,
- const struct i2c_client_address_data *address_data,
- int (*found_proc) (struct i2c_adapter *, int, int));
-
extern struct i2c_adapter *i2c_get_adapter(int id);
extern void i2c_put_adapter(struct i2c_adapter *adap);