From: Grant Likely Date: Fri, 15 Jun 2012 17:50:25 +0000 (-0600) Subject: devicetree: add helper inline for retrieving a node's full name X-Git-Tag: v3.6-rc1~113^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74a7f08448adea6cb47cd9b260c98ff168117e92;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 Signed-off-by: Rob Herring --- Reading git-diff-tree failed