]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Limit locking scope in i2c_detach_client
authorJean Delvare <khali@linux-fr.org>
Sun, 27 Jan 2008 17:14:51 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:51 +0000 (18:14 +0100)
commit9ddced16bb901415ac46058a55bb842a7df8cc68
treea92bb85b14c9ae02d2d7b0714a1bb89ec4292922
parent86ec5ec872566dda74848e09904bb5380cab962e
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: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c