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