mx7dsabresd: Fix the pmic_get() parameter in the DM case
authorFabio Estevam <festevam@gmail.com>
Fri, 20 Dec 2019 17:59:26 +0000 (14:59 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:57 +0000 (10:26 +0100)
commitcb14a5bf661b83ba715b07268439fb7e3c054c16
tree77adfd92e96b2d2754de65a0397d0fd474e416dc
parent83083febf55679ee0fc68ba55e9af43add277b58
mx7dsabresd: 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.

Reported-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/freescale/mx7dsabresd/mx7dsabresd.c