Skip to content

Commit 90fc660

Browse files
Uwe Kleine-Königgroeck
authored andcommitted
hwmon: max31827: Switch back to use struct i2c_driver::probe
struct i2c_driver::probe_new is about to go away. Switch the driver to use the probe callback with the same prototype. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 4dbbaf8 commit 90fc660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/max31827.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ static struct i2c_driver max31827_driver = {
456456
.name = "max31827",
457457
.of_match_table = max31827_of_match,
458458
},
459-
.probe_new = max31827_probe,
459+
.probe = max31827_probe,
460460
.id_table = max31827_i2c_ids,
461461
};
462462
module_i2c_driver(max31827_driver);

0 commit comments

Comments
 (0)