[PATCH 1/3 v3] spi: move master of_node init to spi_alloc_master

Grant Likely grant.likely at secretlab.ca
Fri Mar 2 14:20:32 EST 2012


On Fri,  2 Mar 2012 11:03:05 +0100, Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: devicetree-discuss at lists.ozlabs.org
> Cc: spi-devel-general at lists.sourceforge.net
> Cc: Grant Likely <grant.likely at secretlab.ca>

Actually, the of_node pointer setting was purposefully left out
of spi_alloc_master() because it is not necesarily true that the
dt node associated with the struct device will be the node where
all the spi children are parented.  I want to leave this
initialization in the drivers.

g.




More information about the linux-arm-kernel mailing list