aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-06-03 22:04:33 -0700
committerGrant Likely <grant.likely@secretlab.ca>2012-06-15 11:44:03 -0600
commitefd68e7254503f3207805f674a1ea1d743f5dfe2 (patch)
treed5d0dc0b2b6fdf41ff57eb4b21501fbfe3a56d64 /crypto
parentLinux 3.5-rc2 (diff)
downloadlinux-dev-efd68e7254503f3207805f674a1ea1d743f5dfe2.tar.xz
linux-dev-efd68e7254503f3207805f674a1ea1d743f5dfe2.zip
devicetree: add helper inline for retrieving a node's full name
The pattern (np ? np->full_name : "<none>") is rather common in the kernel, but can also make for quite long lines. This patch adds a new inline function, of_node_full_name() so that the test for a valid node pointer doesn't need to be open coded at all call sites. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions