Skip to content
Commit 30257f46 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Patrice Chotard
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 91dae6d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment