From: Fabio Estevam Date: Thu, 9 Jan 2020 01:05:05 +0000 (-0300) Subject: wandboard: Do not print error message when PMIC is absent X-Git-Tag: v2020.10~415^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=274a5526b99a86482296b647cccbd2cfdff01cf6;p=platform%2Fkernel%2Fu-boot.git wandboard: Do not print error message when PMIC is absent Only the wandboard revD1 boards have PMIC, so when running on a wandboard of different revision the following error is always shown on every boot: pmic_get() ret -19 Instead of printing this error message, move it to debug level instead. Signed-off-by: Fabio Estevam --- diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index f4534dd..5725c58 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -363,7 +363,7 @@ int power_init_board(void) ret = pmic_get("pfuze100@8", &dev); if (ret < 0) { - printf("pmic_get() ret %d\n", ret); + debug("pmic_get() ret %d\n", ret); return 0; }