of: partition: check for valid node
So that users can call the of partition parsers without checking
if they are probed from the devicetree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c7b4d36 commit 9cb5f51d0aeca9b2f18019d05b7b09884809037d
@Sascha Hauer Sascha Hauer authored on 16 Jul 2013
Showing 1 changed file
View
drivers/of/partition.c