diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 4f34823e86b..c1047d644d8 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -1184,7 +1184,7 @@ static int i2c_detect_address(struct i2c_client *temp_client, | |||
1184 | /* Finally call the custom detection function */ | 1184 | /* Finally call the custom detection function */ |
1185 | memset(&info, 0, sizeof(struct i2c_board_info)); | 1185 | memset(&info, 0, sizeof(struct i2c_board_info)); |
1186 | info.addr = addr; | 1186 | info.addr = addr; |
1187 | err = driver->detect(temp_client, -1, &info); | 1187 | err = driver->detect(temp_client, &info); |
1188 | if (err) { | 1188 | if (err) { |
1189 | /* -ENODEV is returned if the detection fails. We catch it | 1189 | /* -ENODEV is returned if the detection fails. We catch it |
1190 | here as this isn't an error. */ | 1190 | here as this isn't an error. */ |