public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] wandboard: Remove repeated PMIC string
@ 2019-12-10  0:13 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2019-12-10  0:13 UTC (permalink / raw)
  To: u-boot

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 --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 at 8", &dev);
 	if (ret < 0) {
 		printf("pmic_get() ret %d\n", ret);
-- 
2.17.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-10  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-10  0:13 [PATCH] wandboard: Remove repeated PMIC string Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox