[PATCH 08/12] Begin to consolidate of_device.c
davem at davemloft.net
Fri Jul 20 13:21:26 EST 2007
From: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Fri, 20 Jul 2007 01:16:12 +1000
> This moves all the common parts for the Sparc, Sparc64 and PowerPC
> of_device.c files into drivers/of/device.c.
> Apart from the simple move, Sparc gains of_match_node() and a call to
> of_node_put in of_release_dev(). PowerPC gains better recovery if
> device_create_file() fails in of_device_register().
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Acked-by: David S. Miller <davem at davemloft.net>
Tested on SunBlade1500.
More information about the Linuxppc-dev