i2c: Discard the i2c algo del_bus wrappers
They are all only calling i2c_del_adapter, so we may as well do it directly. Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
committed by
Jean Delvare
parent
6b65cd7428
commit
3269711b76
@@ -381,14 +381,7 @@ int i2c_pca_add_bus(struct i2c_adapter *adap)
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
||||
int i2c_pca_del_bus(struct i2c_adapter *adap)
|
||||
{
|
||||
return i2c_del_adapter(adap);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(i2c_pca_add_bus);
|
||||
EXPORT_SYMBOL(i2c_pca_del_bus);
|
||||
|
||||
MODULE_AUTHOR("Ian Campbell <icampbell@arcom.com>");
|
||||
MODULE_DESCRIPTION("I2C-Bus PCA9564 algorithm");
|
||||
|
Reference in New Issue
Block a user