regulator: max8893: Drop "_new" from probe callback
[platform/kernel/linux-starfive.git] / drivers / regulator / max8893.c
index cb0e729..3059242 100644 (file)
@@ -125,7 +125,7 @@ static const struct regmap_config max8893_regmap = {
        .val_bits = 8,
 };
 
-static int max8893_probe_new(struct i2c_client *i2c)
+static int max8893_probe(struct i2c_client *i2c)
 {
        int id, ret;
        struct regulator_config config = {.dev = &i2c->dev};
@@ -168,7 +168,7 @@ static const struct i2c_device_id max8893_ids[] = {
 MODULE_DEVICE_TABLE(i2c, max8893_ids);
 
 static struct i2c_driver max8893_driver = {
-       .probe          = max8893_probe_new,
+       .probe          = max8893_probe,
        .driver         = {
                .name   = "max8893",
                .probe_type = PROBE_PREFER_ASYNCHRONOUS,