Merge tag 'kgdb-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt...
[linux-2.6-microblaze.git] / drivers / hwmon / lineage-pem.c
index ce5b059..c83eb2f 100644 (file)
@@ -417,8 +417,7 @@ static const struct attribute_group pem_fan_group = {
        .attrs = pem_fan_attributes,
 };
 
-static int pem_probe(struct i2c_client *client,
-                    const struct i2c_device_id *id)
+static int pem_probe(struct i2c_client *client)
 {
        struct i2c_adapter *adapter = client->adapter;
        struct device *dev = &client->dev;
@@ -512,7 +511,7 @@ static struct i2c_driver pem_driver = {
        .driver = {
                   .name = "lineage_pem",
                   },
-       .probe = pem_probe,
+       .probe_new = pem_probe,
        .id_table = pem_id,
 };