Re: [PATCH] of/device: Don't register disabled devices

2011-01-07 Thread Grant Likely
On Thu, Jan 06, 2011 at 10:35:35AM +1100, David Gibson wrote: > On Wed, Jan 05, 2011 at 02:53:27PM -0800, Blanchard, Hollis wrote: > > On 01/03/2011 03:01 PM, Grant Likely wrote: > > > Device nodes with the property status="disabled" are not usable and so > > > don't register them when parsing the

Re: [PATCH] of/device: Don't register disabled devices

2011-01-05 Thread David Gibson
On Wed, Jan 05, 2011 at 02:53:27PM -0800, Blanchard, Hollis wrote: > On 01/03/2011 03:01 PM, Grant Likely wrote: > > Device nodes with the property status="disabled" are not usable and so > > don't register them when parsing the device tree for devices. > > > This is great and all, but a fair amoun

Re: [PATCH] of/device: Don't register disabled devices

2011-01-05 Thread Blanchard, Hollis
On 01/03/2011 03:01 PM, Grant Likely wrote: > Device nodes with the property status="disabled" are not usable and so > don't register them when parsing the device tree for devices. > This is great and all, but a fair amount of driver code explicitly searches the tree, rather than registering a pro

[PATCH] of/device: Don't register disabled devices

2011-01-03 Thread Grant Likely
Device nodes with the property status="disabled" are not usable and so don't register them when parsing the device tree for devices. Signed-off-by: Grant Likely Cc: Hollis Blanchard Cc: Deepak Saxena Cc: Scott Wood , Cc: David Gibson Cc: Benjamin Herrenschmidt --- drivers/of/platform.c | 2