summaryrefslogtreecommitdiff
path: root/drivers/regulator/mp886x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/mp886x.c')
-rw-r--r--drivers/regulator/mp886x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/mp886x.c b/drivers/regulator/mp886x.c
index 97dc44c0d663..a84fd74081de 100644
--- a/drivers/regulator/mp886x.c
+++ b/drivers/regulator/mp886x.c
@@ -349,7 +349,7 @@ static int mp886x_i2c_probe(struct i2c_client *client)
config.driver_data = di;
config.of_node = np;
- if (!of_property_read_u32(np, "mps,switch-frequency", &freq))
+ if (!of_property_read_u32(np, "mps,switch-frequency-hz", &freq))
mp886x_set_switch_freq(di, regmap, freq);
ret = mp886x_regulator_register(di, &config);