commit | 646f12383a43c3614316901f2fa69e1c4e043d75 | [log] [tgz] |
---|---|---|
author | Kumar Gala <kumar.gala@linaro.org> | Tue Mar 31 07:19:17 2020 -0500 |
committer | Kumar Gala <kumar.gala@gmail.com> | Tue Mar 31 11:34:50 2020 -0500 |
tree | bc0d3c1dd62898a1fa88df3d0b15db34f378476e | |
parent | c11f8acbb31d6c6b15030a00d2051616d5088aad [diff] |
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: Kumar Gala <kumar.gala@linaro.org>