aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 10:58:17 -0400
committerJean Delvare <khali@linux-fr.org>2009-06-19 10:58:17 -0400
commit352da9820e5506e3b8496e6052a2ad9c488efae8 (patch)
tree61be08b52612e52aa8ecc3bfc3a6adb1e36f3f57 /include
parent0732f87761dbe417cb6e084b712d07e879e876ef (diff)
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')
-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 {
352 const struct i2c_algorithm *algo; /* the algorithm to access the bus */ 352 const struct i2c_algorithm *algo; /* the algorithm to access the bus */
353 void *algo_data; 353 void *algo_data;
354 354
355 /* --- administration stuff. */
356 int (*client_register)(struct i2c_client *) __deprecated;
357 int (*client_unregister)(struct i2c_client *) __deprecated;
358
359 /* data fields that are valid for all devices */ 355 /* data fields that are valid for all devices */
360 u8 level; /* nesting level for lockdep */ 356 u8 level; /* nesting level for lockdep */
361 struct mutex bus_lock; 357 struct mutex bus_lock;