Skip to contentSkip to conversation

wandboard: Remove repeated PMIC string

PATCH Superseded Fabio Estevam 1 participant 1 message Dec 10, 2019

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wandboard: Remove repeated PMIC string

After the conversion to DM_PMIC the following output is seen:

PMIC: PMIC: PFUZE100 ID=0x10

Remove the unnecessary PMIC string from the board file to avoid the repetead string.

---
Hi Stefano,

This one depends on these two patches:

[PATCH 1/2] wandboard: Fix the the DM_PMIC conversion [PATCH 2/2] wandboard: Propagate the error on PMIC function failure

 board/wandboard/wandboard.c | 2 --
 1 file changed, 2 deletions(-)
board/wandboard/wandboard.c +0 -2
index 7209cc8211..e386ad2cc1 100644
@@ -361,8 +361,6 @@ int power_init_board(void)
 	struct udevice *dev;
 	int reg, ret;
 
-	puts("PMIC:  ");
-
 	ret = pmic_get("pfuze100 at 8", &dev);
 	if (ret < 0) {
 		printf("pmic_get() ret %d\n", ret);
Signature · 1 line
2.17.1