Merge tag 's390-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux-2.6-microblaze.git] / drivers / hwmon / ltc2945.c
index 2818276..ba9c868 100644 (file)
@@ -445,8 +445,7 @@ static const struct regmap_config ltc2945_regmap_config = {
        .max_register = LTC2945_MIN_ADIN_THRES_L,
 };
 
-static int ltc2945_probe(struct i2c_client *client,
-                        const struct i2c_device_id *id)
+static int ltc2945_probe(struct i2c_client *client)
 {
        struct device *dev = &client->dev;
        struct device *hwmon_dev;
@@ -478,7 +477,7 @@ static struct i2c_driver ltc2945_driver = {
        .driver = {
                   .name = "ltc2945",
                   },
-       .probe = ltc2945_probe,
+       .probe_new = ltc2945_probe,
        .id_table = ltc2945_id,
 };