Merge tag 'powerpc-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git] / drivers / hwmon / w83773g.c
index 96b695b..88d11dc 100644 (file)
@@ -259,8 +259,7 @@ static const struct regmap_config w83773_regmap_config = {
        .val_bits = 8,
 };
 
-static int w83773_probe(struct i2c_client *client,
-                       const struct i2c_device_id *id)
+static int w83773_probe(struct i2c_client *client)
 {
        struct device *dev = &client->dev;
        struct device *hwmon_dev;
@@ -296,7 +295,7 @@ static struct i2c_driver w83773_driver = {
                .name   = "w83773g",
                .of_match_table = of_match_ptr(w83773_of_match),
        },
-       .probe = w83773_probe,
+       .probe_new = w83773_probe,
        .id_table = w83773_id,
 };