Searched refs:ofpart_node (Results 1 – 1 of 1) sorted by relevance
150 struct device_node *ofpart_node; in scpart_parse() local159 ofpart_node = of_get_child_by_name(mtd_node, "partitions"); in scpart_parse()160 if (!ofpart_node) { in scpart_parse()174 parts = kzalloc_objs(*parts, of_get_child_count(ofpart_node)); in scpart_parse()180 for_each_child_of_node(ofpart_node, pp) { in scpart_parse()221 of_node_put(ofpart_node); in scpart_parse()