pmic: pfuze100 fix typo
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 18 May 2015 05:37:26 +0000 (13:37 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 19 May 2015 13:13:38 +0000 (15:13 +0200)
Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
board/freescale/common/pfuze.c
include/power/pfuze100_pmic.h

index 4980bf7b0089528db6f0dc5a4c45d4db99d4eaa5..d6a209e1a3743fd6d732915e44d98293feb07d1d 100644 (file)
@@ -71,10 +71,10 @@ struct pmic *pfuze_common_init(unsigned char i2cbus)
        pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg);
 
        /* Set SW1AB/VDDARM step ramp up time from 16us to 4us/25mV */
-       pmic_reg_read(p, PUZE_100_SW1ABCONF, &reg);
+       pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg);
        reg &= ~SW1xCONF_DVSSPEED_MASK;
        reg |= SW1xCONF_DVSSPEED_4US;
-       pmic_reg_write(p, PUZE_100_SW1ABCONF, reg);
+       pmic_reg_write(p, PFUZE100_SW1ABCONF, reg);
 
        /* Set SW1C standby voltage to 0.975V */
        pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg);
index 8e7a22d020f648cc3e88da48b8b9aee1708734b1..57b9ca94afc1204378e62dc009ce0ad27932ad0f 100644 (file)
@@ -18,7 +18,7 @@ enum {
        PFUZE100_SW1ABSTBY      = 0x21,
        PFUZE100_SW1ABOFF       = 0x22,
        PFUZE100_SW1ABMODE      = 0x23,
-       PUZE_100_SW1ABCONF      = 0x24,
+       PFUZE100_SW1ABCONF      = 0x24,
        PFUZE100_SW1CVOL        = 0x2e,
        PFUZE100_SW1CSTBY       = 0x2f,
        PFUZE100_SW1COFF        = 0x30,