> - /* Remove devices instantiated from sysfs */ > - mutex_lock_nested(&adap->userspace_clients_lock, > - i2c_adapter_depth(adap)); > - list_for_each_entry_safe(client, next, &adap->userspace_clients, > - detected) { > - dev_dbg(&adap->dev, "Removing %s at 0x%x\n", client->name, > - client->addr); > - list_del(&client->detected); > - i2c_unregister_device(client); > - } > - mutex_unlock(&adap->userspace_clients_lock); Same question as previous patch: why no removal when adapter gets deleted?
Attachment:
signature.asc
Description: PGP signature