diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 22:10:48 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-08-31 14:30:42 +0200 |
commit | 0413bedabc886c3a56804d1c80a58e99077b1d91 (patch) | |
tree | 2c421170687e8f71f93d578a6c65edf0ea80ff13 /drivers/of | |
parent | of: add node name compare helper functions (diff) | |
download | linux-0413bedabc886c3a56804d1c80a58e99077b1d91.tar.xz linux-0413bedabc886c3a56804d1c80a58e99077b1d91.zip |
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>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions