Grant Likely 74a7f08448 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>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-06 07:16:34 -05:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-04-08 12:54:33 +03:00
2012-03-28 18:30:02 +01:00
2012-03-28 16:36:33 +02:00
2012-05-08 12:35:07 +02:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2012-05-05 13:00:25 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-03-28 15:58:21 -07:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:51 -04:00
2011-07-26 16:49:47 -07:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2010-03-12 15:52:32 -08:00
2012-03-28 18:30:02 +01:00
2012-03-28 15:58:21 -07:00