Skip to content
Commit 646f1238 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

disk: convert DT_NODE_HAS_PROP(..,label) to DT_HAS_NODE()



The check for label property is really checking to see if a device
exists and the better way to do that is to use DT_HAS_NODE().  Replace
refernces of DT_NODE_HAS_PROP(DT_INST(...), label) with
DT_HAS_NODE(DT_INST(...)).

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent c11f8acb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment