MTD: small physmap_of partition parsing fixes
authorValentine Barshak <vbarshak@ru.mvista.com>
Mon, 29 Oct 2007 20:29:02 +0000 (23:29 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 30 Oct 2007 12:54:39 +0000 (08:54 -0400)
Use of_get_next_child for proper ref counting as suggested by Stephen Rothwell
and remove add_mtd_partitions from parse_partitions to avoid duplicate
mtd device registration for RedBoot partitions.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Heckled-for-on-IRC-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

No differences found