[PATCH] wandboard: Remove repeated PMIC string
Fabio Estevam
festevam at gmail.com
Tue Dec 10 01:13:56 CET 2019
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 at 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
More information about the U-Boot
mailing list