[PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

Arnd Bergmann arnd at arndb.de
Wed Sep 26 00:27:57 EST 2007


On Tuesday 25 September 2007, Joachim Fenkes wrote:
> 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.
> 
> Signed-off-by: Joachim Fenkes <fenkes at de.ibm.com>
> ---
>  include/asm-powerpc/of_device.h   |    4 ++
>  include/linux/of_device.h         |    5 ++
>  arch/powerpc/kernel/of_device.c   |   80 +++++++++++++++++++++++++++++++++++++
>  arch/powerpc/kernel/of_platform.c |   70 +-------------------------------
>  4 files changed, 91 insertions(+), 68 deletions(-)
> 

Sorry I didn't review the patches earlier when you sent them in private.
The patch looks good to me, especially since you did exactly what I
suggested ;-)

Maybe the description should have another sentence in it about what
the change is good for. You have that in the 0/5 mail, but that does
not go into the changelog, so the information gets lost in the process.

	Arnd <><



More information about the Linuxppc-dev mailing list