aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/max6875.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/max6875.c')
-rw-r--r--drivers/i2c/chips/max6875.c4
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
162static int max6875_attach_adapter(struct i2c_adapter *adapter) 162static 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 */
168static int max6875_detect(struct i2c_adapter *adapter, int address, int kind) 168static 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;