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>
Dieser Commit ist enthalten in:

committet von
Jean Delvare

Ursprung
6b65cd7428
Commit
3269711b76
@@ -360,7 +360,7 @@ static int __init i2c_ioc_init(void)
|
||||
if (ret >= 0){
|
||||
ret = misc_register(&rtc_dev);
|
||||
if(ret < 0)
|
||||
i2c_bit_del_bus(&ioc_ops);
|
||||
i2c_del_adapter(&ioc_ops);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren