summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/regulator_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/regulator_common.c')
-rw-r--r--drivers/power/regulator/regulator_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/power/regulator/regulator_common.c b/drivers/power/regulator/regulator_common.c
index 13906b9c6e..d307a1948a 100644
--- a/drivers/power/regulator/regulator_common.c
+++ b/drivers/power/regulator/regulator_common.c
@@ -12,8 +12,9 @@
#include "regulator_common.h"
-int regulator_common_ofdata_to_platdata(struct udevice *dev,
- struct regulator_common_platdata *dev_pdata, const char *enable_gpio_name)
+int regulator_common_of_to_plat(struct udevice *dev,
+ struct regulator_common_platdata *dev_pdata,
+ const char *enable_gpio_name)
{
struct gpio_desc *gpio;
int flags = GPIOD_IS_OUT;