warp7: Fix the pmic_get() parameter in the DM case
authorJoris Offouga <offougajoris@gmail.com>
Wed, 29 Jan 2020 21:05:58 +0000 (22:05 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:59:54 +0000 (14:59 +0100)
commit80dae36b34758bbfbaf43ceafca2aeadd5afaba4
tree60a3fd8b15c2abb70af8c6c5e341f9f433fe3109
parenta05eb8b14a46fd194caf2ae2c01e3a3431daab3e
warp7: Fix the pmic_get() parameter in the DM case

When pmic_get() is used with DM the first parameter must be
the complete node name plus the unit address, so fix it
accordingly

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
board/warp7/warp7.c