From 676ac24e07463630281c21af23808728e1b3ae38 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Fri, 1 Aug 2014 08:50:03 -0300 Subject: 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 Cc: Markus Niebel Signed-off-by: Fabio Estevam --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/gateworks') 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); -- cgit v1.1