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>
此提交包含在:
@@ -486,15 +486,7 @@ int i2c_pcf_add_bus(struct i2c_adapter *adap)
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
||||
int i2c_pcf_del_bus(struct i2c_adapter *adap)
|
||||
{
|
||||
return i2c_del_adapter(adap);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(i2c_pcf_add_bus);
|
||||
EXPORT_SYMBOL(i2c_pcf_del_bus);
|
||||
|
||||
MODULE_AUTHOR("Hans Berglund <hb@spacetec.no>");
|
||||
MODULE_DESCRIPTION("I2C-Bus PCF8584 algorithm");
|
||||
|
新增問題並參考
封鎖使用者