hwmon: max31827: Switch back to use struct i2c_driver::probe
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 26 Jun 2023 08:51:45 +0000 (10:51 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 26 Jun 2023 13:45:54 +0000 (06:45 -0700)
commit90fc660e8479c5da5bb99a4fb3e0d266fa041b15
tree480ca907a404506e647c04cbab0ae56bac25ff56
parent4dbbaf8fbdbd13adc80731b2452257857e4c2d8b
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>
drivers/hwmon/max31827.c