i2c: Limit locking scope in i2c_detach_client
We only need to hold adapter->clist_lock when we touch the client list.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Showing
想要评论请 注册 或 登录
We only need to hold adapter->clist_lock when we touch the client list.
Signed-off-by: NJean Delvare <khali@linux-fr.org>