[PATCH 2/2] of: kill struct of_device

David Miller davem at davemloft.net
Thu Jun 17 07:07:06 EST 2010


From: Grant Likely <grant.likely at secretlab.ca>
Date: Fri, 04 Jun 2010 15:11:38 -0600

> Now that the device tree node pointer has been moved out of struct
> of_device and into the common struct device, there isn't anything
> unique about of_device anymore.  In fact, there isn't much need
> for a separate of_bus when all busses have access to OF style
> probing.
> 
> arch/powerpc and arch/microblaze are moving away from using the of_bus
> and using the regular platform bus instead for mmio devices.  This
> patch makes of_device the same as platform_device as a stepping stone
> in migrating of_platform_drivers over to the platform bus.
> 
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list