diff options
Diffstat (limited to 'drivers/i2c/chips/max6875.c')
-rw-r--r-- | drivers/i2c/chips/max6875.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index 52fd6bf29133..42663f921ecc 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -161,10 +161,10 @@ static struct bin_attribute user_eeprom_attr = { | |||
161 | 161 | ||
162 | static int max6875_attach_adapter(struct i2c_adapter *adapter) | 162 | static int max6875_attach_adapter(struct i2c_adapter *adapter) |
163 | { | 163 | { |
164 | return i2c_detect(adapter, &addr_data, max6875_detect); | 164 | return i2c_probe(adapter, &addr_data, max6875_detect); |
165 | } | 165 | } |
166 | 166 | ||
167 | /* This function is called by i2c_detect */ | 167 | /* This function is called by i2c_probe */ |
168 | static int max6875_detect(struct i2c_adapter *adapter, int address, int kind) | 168 | static int max6875_detect(struct i2c_adapter *adapter, int address, int kind) |
169 | { | 169 | { |
170 | struct i2c_client *real_client; | 170 | struct i2c_client *real_client; |