diff mbox series

wandboard: Remove repeated PMIC string

Message ID 20191210001356.3252-1-festevam@gmail.com
State Superseded
Delegated to: Stefano Babic
Headers show
Series wandboard: Remove repeated PMIC string | expand

Commit Message

Fabio Estevam Dec. 10, 2019, 12:13 a.m. UTC
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.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
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(-)
diff mbox series

Patch

diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 7209cc8211..e386ad2cc1 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -361,8 +361,6 @@  int power_init_board(void)
 	struct udevice *dev;
 	int reg, ret;
 
-	puts("PMIC:  ");
-
 	ret = pmic_get("pfuze100@8", &dev);
 	if (ret < 0) {
 		printf("pmic_get() ret %d\n", ret);