From: Grant Likely Date: Mon, 4 Jun 2012 05:04:33 +0000 (-0700) Subject: devicetree: add helper inline for retrieving a node's full name X-Git-Tag: v3.6-rc1~23^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efd68e7254503f3207805f674a1ea1d743f5dfe2;p=pandora-kernel.git devicetree: add helper inline for retrieving a node's full name The pattern (np ? np->full_name : "") 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 Cc: Paul Mundt Cc: Benjamin Herrenschmidt Cc: Thomas Gleixner --- Reading git-diff-tree failed