From 3fd10f3e25487121563fddfdd9c44cd863662b7a Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Mon, 18 May 2015 13:37:26 +0800 Subject: [PATCH] pmic: pfuze100 fix typo Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF Signed-off-by: Peng Fan --- board/freescale/common/pfuze.c | 4 ++-- include/power/pfuze100_pmic.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c index 4980bf7b00..d6a209e1a3 100644 --- a/board/freescale/common/pfuze.c +++ b/board/freescale/common/pfuze.c @@ -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, ®); + pmic_reg_read(p, PFUZE100_SW1ABCONF, ®); 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, ®); diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h index 8e7a22d020..57b9ca94af 100644 --- a/include/power/pfuze100_pmic.h +++ b/include/power/pfuze100_pmic.h @@ -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, -- 2.25.1