Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230626085145.554616-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Uwe Kleine-König and committed by
Guenter Roeck
90fc660e 4dbbaf8f

+1 -1
+1 -1
drivers/hwmon/max31827.c
··· 456 456 .name = "max31827", 457 457 .of_match_table = max31827_of_match, 458 458 }, 459 - .probe_new = max31827_probe, 459 + .probe = max31827_probe, 460 460 .id_table = max31827_i2c_ids, 461 461 }; 462 462 module_i2c_driver(max31827_driver);