commit | 0413bedabc886c3a56804d1c80a58e99077b1d91 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Tue Aug 28 15:10:48 2018 -0500 |
committer | Rob Herring <robh@kernel.org> | Fri Aug 31 08:30:42 2018 -0400 |
tree | 2c421170687e8f71f93d578a6c65edf0ea80ff13 | |
parent | f42b0e18f2e5cf34f73ef1b6327b49040b307a33 [diff] |
of: Add device_type access helper functions In preparation to remove direct access to device_node.type, add of_node_is_type() and of_node_get_device_type() helpers to check and retrieve the device type. Cc: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>