Skip to content

Commit 16aa70e

Browse files
oliv3rbroonie
authored andcommitted
mfd: axp20x: name voltage ramping define properly
The current axp20x names the ramping register 'scal' which probably means scaling. Since the register really has nothing to do with scaling, but really is the voltage ramp we rename it appropriately. Signed-off-by: Olliver Schinagl <[email protected]> Signed-off-by: Priit Laes <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent c33c833 commit 16aa70e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/mfd/axp20x.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ enum axp20x_variants {
3535
#define AXP152_ALDO_OP_MODE 0x13
3636
#define AXP152_LDO0_CTRL 0x15
3737
#define AXP152_DCDC2_V_OUT 0x23
38-
#define AXP152_DCDC2_V_SCAL 0x25
38+
#define AXP152_DCDC2_V_RAMP 0x25
3939
#define AXP152_DCDC1_V_OUT 0x26
4040
#define AXP152_DCDC3_V_OUT 0x27
4141
#define AXP152_ALDO12_V_OUT 0x28
@@ -53,7 +53,7 @@ enum axp20x_variants {
5353
#define AXP20X_USB_OTG_STATUS 0x02
5454
#define AXP20X_PWR_OUT_CTRL 0x12
5555
#define AXP20X_DCDC2_V_OUT 0x23
56-
#define AXP20X_DCDC2_LDO3_V_SCAL 0x25
56+
#define AXP20X_DCDC2_LDO3_V_RAMP 0x25
5757
#define AXP20X_DCDC3_V_OUT 0x27
5858
#define AXP20X_LDO24_V_OUT 0x28
5959
#define AXP20X_LDO3_V_OUT 0x29

0 commit comments

Comments
 (0)