mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
f42b0e18f2
commit
0413bedabc
1 changed files with 12 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue