diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-08-01 08:50:03 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-08-08 10:29:41 +0200 |
commit | 676ac24e07463630281c21af23808728e1b3ae38 (patch) | |
tree | 43f81840d7eae90a22598b417aac1ed488063e45 /board | |
parent | 9cd744ff117bae59c6ced331170ee44e9ab10ccd (diff) | |
download | u-boot-imx-676ac24e07463630281c21af23808728e1b3ae38.zip u-boot-imx-676ac24e07463630281c21af23808728e1b3ae38.tar.gz u-boot-imx-676ac24e07463630281c21af23808728e1b3ae38.tar.bz2 |
pmic: pmic_pfuze100: Use a shorter name for PMIC name
It is redundant to use 'PFUZE100_PMIC' as the PMIC name because we already
know it is a PMIC.
Call it simply 'PFUZE100' instead.
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 2 | ||||
-rw-r--r-- | board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 | ||||
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.c | 2 | ||||
-rw-r--r-- | board/tqc/tqma6/tqma6.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index d7c4b4f..80c8ebd 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -466,7 +466,7 @@ static int pfuze_init(void) if (ret) return ret; - p = pmic_get("PFUZE100_PMIC"); + p = pmic_get("PFUZE100"); ret = pmic_probe(p); if (ret) return ret; diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 24d6a51..6cd2b4a 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -90,7 +90,7 @@ static int pfuze_init(void) if (ret) return ret; - p = pmic_get("PFUZE100_PMIC"); + p = pmic_get("PFUZE100"); ret = pmic_probe(p); if (ret) return ret; diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 9967f80..ae1cf87 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -903,7 +903,7 @@ int power_init_board(void) /* configure PFUZE100 PMIC */ if (board_type == GW54xx || board_type == GW54proto) { power_pfuze100_init(I2C_PMIC); - p = pmic_get("PFUZE100_PMIC"); + p = pmic_get("PFUZE100"); if (p && !pmic_probe(p)) { pmic_reg_read(p, PFUZE100_DEVICEID, ®); printf("PMIC: PFUZE100 ID=0x%02x\n", reg); diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index 69c4551..b552bb8 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@ -229,10 +229,10 @@ int board_late_init(void) * fixed in generic power code */ power_pfuze100_init(TQMA6_PFUZE100_I2C_BUS); - p = pmic_get("PFUZE100_PMIC"); + p = pmic_get("PFUZE100"); if (p && !pmic_probe(p)) { pmic_reg_read(p, PFUZE100_DEVICEID, ®); - printf("PMIC: PFUZE100_PMIC ID=0x%02x\n", reg); + printf("PMIC: PFUZE100 ID=0x%02x\n", reg); } tqma6_bb_board_late_init(); |