Merge tag 'amd-drm-next-6.3-2023-01-13' of https://gitlab.freedesktop.org/agd5f/linux...
[linux-2.6-microblaze.git] / drivers / mfd / lp8788.c
index 724a571..fe809b6 100644 (file)
@@ -166,7 +166,7 @@ static const struct regmap_config lp8788_regmap_config = {
        .max_register = MAX_LP8788_REGISTERS,
 };
 
-static int lp8788_probe(struct i2c_client *cl, const struct i2c_device_id *id)
+static int lp8788_probe(struct i2c_client *cl)
 {
        struct lp8788 *lp;
        struct lp8788_platform_data *pdata = dev_get_platdata(&cl->dev);
@@ -225,7 +225,7 @@ static struct i2c_driver lp8788_driver = {
        .driver = {
                .name = "lp8788",
        },
-       .probe = lp8788_probe,
+       .probe_new = lp8788_probe,
        .remove = lp8788_remove,
        .id_table = lp8788_ids,
 };