aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/i2c-core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index b0bceb2fb8b1..20f92e355f56 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -759,14 +759,6 @@ int i2c_probe(struct i2c_adapter *adapter,
759 return 0; 759 return 0;
760} 760}
761 761
762/*
763 * return id number for a specific adapter
764 */
765int i2c_adapter_id(struct i2c_adapter *adap)
766{
767 return adap->nr;
768}
769
770struct i2c_adapter* i2c_get_adapter(int id) 762struct i2c_adapter* i2c_get_adapter(int id)
771{ 763{
772 struct i2c_adapter *adapter; 764 struct i2c_adapter *adapter;
@@ -1196,7 +1188,6 @@ EXPORT_SYMBOL(i2c_master_send);
1196EXPORT_SYMBOL(i2c_master_recv); 1188EXPORT_SYMBOL(i2c_master_recv);
1197EXPORT_SYMBOL(i2c_control); 1189EXPORT_SYMBOL(i2c_control);
1198EXPORT_SYMBOL(i2c_transfer); 1190EXPORT_SYMBOL(i2c_transfer);
1199EXPORT_SYMBOL(i2c_adapter_id);
1200EXPORT_SYMBOL(i2c_get_adapter); 1191EXPORT_SYMBOL(i2c_get_adapter);
1201EXPORT_SYMBOL(i2c_put_adapter); 1192EXPORT_SYMBOL(i2c_put_adapter);
1202EXPORT_SYMBOL(i2c_probe); 1193EXPORT_SYMBOL(i2c_probe);