MLK-18590 pmic: bd71837: Change to use new fdt API
authorYe Li <ye.li@nxp.com>
Wed, 13 Jun 2018 02:14:29 +0000 (19:14 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:31:11 +0000 (02:31 -0700)
commitaf1a244386b61f0d42be231e58989493034124c6
treeadd54a638ed6822086b53cba71c353e56f1c11df
parentb0d49a10b23f0b9a7d8cc9299e6eac6b39ce1434
MLK-18590 pmic: bd71837: Change to use new fdt API

Changed to use dev_read_subnode to get the ofnode type of the bd71837 device node.
Because the pmic_bind_children is changed to use ofnode.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit acdc5c297a9630a464896ba507f33f4d4e9820c4)
drivers/power/pmic/bd71837.c