diff options
Diffstat (limited to 'drivers/hwmon/max127.c')
-rw-r--r-- | drivers/hwmon/max127.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hwmon/max127.c b/drivers/hwmon/max127.c index 402ffdc2f425..0e21e7e6bbd2 100644 --- a/drivers/hwmon/max127.c +++ b/drivers/hwmon/max127.c @@ -303,8 +303,7 @@ static const struct hwmon_chip_info max127_chip_info = { .info = max127_info, }; -static int max127_probe(struct i2c_client *client, - const struct i2c_device_id *id) +static int max127_probe(struct i2c_client *client) { int i; struct device *hwmon_dev; @@ -340,7 +339,7 @@ static struct i2c_driver max127_driver = { .driver = { .name = "max127", }, - .probe = max127_probe, + .probe_new = max127_probe, .id_table = max127_id, }; |