ad5398_vcm: Fixup ad5398_probe prototype
authorDom Cobley <popcornmix@gmail.com>
Tue, 14 Mar 2023 16:54:37 +0000 (16:54 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:29 +0000 (11:33 +0000)
drivers/media/i2c/ad5398_vcm.c

index f3e3dc7..649ff0b 100644 (file)
@@ -253,8 +253,7 @@ static int ad5398_regulator_notifier(struct notifier_block *nb,
        return NOTIFY_OK;
 }
 
-static int ad5398_probe(struct i2c_client *client,
-                       const struct i2c_device_id *devid)
+static int ad5398_probe(struct i2c_client *client)
 {
        struct ad5398_device *coil;
        int ret;