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 <festevam@gmail.com>
This commit is contained in:
Fabio Estevam authored and Stefano Babic committed 2020-01-14 22:17:51 +01:00
1 parent c3061ce8f1
commit 274a5526b9
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}