From: Joachim Fenkes Date: Wed, 26 Sep 2007 09:44:12 +0000 (+1000) Subject: [POWERPC] Move of_device allocation into of_device.[ch] X-Git-Tag: v2.6.24-rc1~491^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec738dd48bd33743c12cebe1bf954e487756231;p=pandora-kernel.git [POWERPC] Move of_device allocation into of_device.[ch] Extract generic of_device allocation code from of_platform_device_create() and move it into of_device.[ch], called of_device_alloc(). Also, there's now of_device_free() which puts the device node. This way, bus drivers that build on of_platform (like ibmebus will) can build upon this code instead of reinventing the wheel. Signed-off-by: Joachim Fenkes Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed