diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/i2c-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 4765a50d753..cd3fcb85ca7 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -1086,7 +1086,6 @@ i2c_new_probed_device(struct i2c_adapter *adap, | |||
1086 | return NULL; | 1086 | return NULL; |
1087 | } | 1087 | } |
1088 | 1088 | ||
1089 | mutex_lock(&adap->clist_lock); | ||
1090 | for (i = 0; addr_list[i] != I2C_CLIENT_END; i++) { | 1089 | for (i = 0; addr_list[i] != I2C_CLIENT_END; i++) { |
1091 | /* Check address validity */ | 1090 | /* Check address validity */ |
1092 | if (addr_list[i] < 0x03 || addr_list[i] > 0x77) { | 1091 | if (addr_list[i] < 0x03 || addr_list[i] > 0x77) { |
@@ -1124,7 +1123,6 @@ i2c_new_probed_device(struct i2c_adapter *adap, | |||
1124 | break; | 1123 | break; |
1125 | } | 1124 | } |
1126 | } | 1125 | } |
1127 | mutex_unlock(&adap->clist_lock); | ||
1128 | 1126 | ||
1129 | if (addr_list[i] == I2C_CLIENT_END) { | 1127 | if (addr_list[i] == I2C_CLIENT_END) { |
1130 | dev_dbg(&adap->dev, "Probing failed, no device found\n"); | 1128 | dev_dbg(&adap->dev, "Probing failed, no device found\n"); |