summaryrefslogtreecommitdiffstats
path: root/board/gateworks
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-08-01 08:50:03 -0300
committerStefano Babic <sbabic@denx.de>2014-08-08 10:29:41 +0200
commit676ac24e07463630281c21af23808728e1b3ae38 (patch)
tree43f81840d7eae90a22598b417aac1ed488063e45 /board/gateworks
parent9cd744ff117bae59c6ced331170ee44e9ab10ccd (diff)
downloadblackbird-obmc-uboot-676ac24e07463630281c21af23808728e1b3ae38.tar.gz
blackbird-obmc-uboot-676ac24e07463630281c21af23808728e1b3ae38.zip
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/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 9967f80d5e..ae1cf8702e 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, &reg);
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);
OpenPOWER on IntegriCloud