summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/lp87565_regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/lp87565_regulator.c')
-rw-r--r--drivers/power/regulator/lp87565_regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/regulator/lp87565_regulator.c b/drivers/power/regulator/lp87565_regulator.c
index 2212cb5c651..ea9c7685e9f 100644
--- a/drivers/power/regulator/lp87565_regulator.c
+++ b/drivers/power/regulator/lp87565_regulator.c
@@ -82,8 +82,8 @@ static int lp87565_buck_val2volt(int val)
static int lp87565_buck_val(struct udevice *dev, int op, int *uV)
{
- unsigned int hex, adr;
- int ret;
+ unsigned int adr;
+ int hex, ret;
struct dm_regulator_uclass_plat *uc_pdata;
uc_pdata = dev_get_uclass_plat(dev);