diff options
author | Patrick Delaunay | 2022-10-26 15:05:10 +0200 |
---|---|---|
committer | Patrice Chotard | 2022-12-12 11:25:28 +0100 |
commit | 30257f4699e0e58818f6e6f86021a994f485ee58 (patch) | |
tree | 90f084997c3e74d6a7e7e8256f307ecefffd084b /net | |
parent | 91dae6d0a19e4d19715243487f0d0f8ca5b0c443 (diff) |
dm: pmic: ignore disabled node in pmic_bind_children
Ignore the disabled children node in pmic_bind_children() so the
disabled regulators in device tree are not registered.
This patch is based on the dm_scan_fdt_node() code - only the
activated nodes are bound - and it solves possible issue when a
deactivated regulator is bound, error for duplicated regulator name
for example.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions