wandboard: Do not print error message when PMIC is absent
authorFabio Estevam <festevam@gmail.com>
Thu, 9 Jan 2020 01:05:05 +0000 (22:05 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jan 2020 21:17:51 +0000 (22:17 +0100)
commit274a5526b99a86482296b647cccbd2cfdff01cf6
tree60c056ace46f3f5b6fc743351c180fcf2884d8c4
parentc3061ce8f1c53fa18fbdbab971f9125c816f9b5c
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>
board/wandboard/wandboard.c