summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 16:58:17 +0200
committerJean Delvare <khali@linux-fr.org>2009-06-19 16:58:17 +0200
commit352da9820e5506e3b8496e6052a2ad9c488efae8 (patch)
tree61be08b52612e52aa8ecc3bfc3a6adb1e36f3f57 /include/linux/i2c.h
parent0732f87761dbe417cb6e084b712d07e879e876ef (diff)
downloadtalos-obmc-linux-352da9820e5506e3b8496e6052a2ad9c488efae8.tar.gz
talos-obmc-linux-352da9820e5506e3b8496e6052a2ad9c488efae8.zip
i2c: Kill client_register and client_unregister methods
These methods were useful in the legacy binding model but no longer in the new (standard) binding model. There are no users left so we can drop them. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index ad2580596033..b3f4606afa0e 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -352,10 +352,6 @@ struct i2c_adapter {
const struct i2c_algorithm *algo; /* the algorithm to access the bus */
void *algo_data;
- /* --- administration stuff. */
- int (*client_register)(struct i2c_client *) __deprecated;
- int (*client_unregister)(struct i2c_client *) __deprecated;
-
/* data fields that are valid for all devices */
u8 level; /* nesting level for lockdep */
struct mutex bus_lock;
OpenPOWER on IntegriCloud