summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/tps65910_regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/tps65910_regulator.c')
-rw-r--r--drivers/power/regulator/tps65910_regulator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/regulator/tps65910_regulator.c b/drivers/power/regulator/tps65910_regulator.c
index 9fb13d6a55..0ed4952a1e 100644
--- a/drivers/power/regulator/tps65910_regulator.c
+++ b/drivers/power/regulator/tps65910_regulator.c
@@ -386,7 +386,7 @@ static int tps65910_boost_get_value(struct udevice *dev)
return vout;
}
-static int tps65910_regulator_ofdata_to_platdata(struct udevice *dev)
+static int tps65910_regulator_of_to_plat(struct udevice *dev)
{
struct udevice *supply;
int ret;
@@ -425,7 +425,7 @@ U_BOOT_DRIVER(tps65910_boost) = {
.id = UCLASS_REGULATOR,
.ops = &tps65910_boost_ops,
.plat_auto = sizeof(struct tps65910_regulator_pdata),
- .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
+ .of_to_plat = tps65910_regulator_of_to_plat,
};
static const struct dm_regulator_ops tps65910_buck_ops = {
@@ -440,7 +440,7 @@ U_BOOT_DRIVER(tps65910_buck) = {
.id = UCLASS_REGULATOR,
.ops = &tps65910_buck_ops,
.plat_auto = sizeof(struct tps65910_regulator_pdata),
- .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
+ .of_to_plat = tps65910_regulator_of_to_plat,
};
static const struct dm_regulator_ops tps65910_ldo_ops = {
@@ -455,5 +455,5 @@ U_BOOT_DRIVER(tps65910_ldo) = {
.id = UCLASS_REGULATOR,
.ops = &tps65910_ldo_ops,
.plat_auto = sizeof(struct tps65910_regulator_pdata),
- .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
+ .of_to_plat = tps65910_regulator_of_to_plat,
};