summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-02-17 23:14:25 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-02-18 12:11:04 -0800
commit0b8f452c9698d48aa92de17294032fac03d47229 (patch)
treeaee83087cb9ad4ac1567c3d0c31a834a0802a90a /security/tomoyo
parentc1c00aa53a636d635d9bfad15652fa0694b54f9d (diff)
downloadlinux-0b8f452c9698d48aa92de17294032fac03d47229.tar.bz2
Input: i8042 - rework DT node name comparisons
Convert string compares of DT node names to use of_node_name_eq helper instead. For the root node on SUN DT, we need to retrieve the 'name' property as it is the rare case where the 'name' property and node name differ. With both changes, it removes direct access to the node name pointer. While at it, convert the open coded loop to use for_each_child_of_node(). Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions