Merge tag 'io_uring-2023-01-06' of git://git.kernel.dk/linux
[linux-2.6-block.git] / drivers / mfd / lp3943.c
index 13cb89be3d66193d6ae9cedf5829b9aac46ad772..f9f39b53d03008595f645d7285515863fced4b61 100644 (file)
@@ -102,7 +102,7 @@ static const struct regmap_config lp3943_regmap_config = {
        .max_register = LP3943_MAX_REGISTERS,
 };
 
-static int lp3943_probe(struct i2c_client *cl, const struct i2c_device_id *id)
+static int lp3943_probe(struct i2c_client *cl)
 {
        struct lp3943 *lp3943;
        struct device *dev = &cl->dev;
@@ -140,7 +140,7 @@ MODULE_DEVICE_TABLE(of, lp3943_of_match);
 #endif
 
 static struct i2c_driver lp3943_driver = {
-       .probe = lp3943_probe,
+       .probe_new = lp3943_probe,
        .driver = {
                .name = "lp3943",
                .of_match_table = of_match_ptr(lp3943_of_match),