RDMA/mlx5: Recover from fatal event in dual port mode
[linux-2.6-microblaze.git] / drivers / macintosh / therm_windtunnel.c
index a0d87ed..f55f6ad 100644 (file)
@@ -323,7 +323,7 @@ static void do_attach(struct i2c_adapter *adapter)
                of_node_put(np);
        } else {
                strlcpy(info.type, "MAC,ds1775", I2C_NAME_SIZE);
-               i2c_new_probed_device(adapter, &info, scan_ds1775, NULL);
+               i2c_new_scanned_device(adapter, &info, scan_ds1775, NULL);
        }
 
        np = of_find_compatible_node(adapter->dev.of_node, NULL, "MAC,adm1030");
@@ -331,7 +331,7 @@ static void do_attach(struct i2c_adapter *adapter)
                of_node_put(np);
        } else {
                strlcpy(info.type, "MAC,adm1030", I2C_NAME_SIZE);
-               i2c_new_probed_device(adapter, &info, scan_adm1030, NULL);
+               i2c_new_scanned_device(adapter, &info, scan_adm1030, NULL);
        }
 }