From: Laurent Pinchart Date: Mon, 12 Dec 2011 00:15:06 +0000 (+0100) Subject: spi: Fix device unregistration when unregistering the bus master X-Git-Tag: v3.3-rc1~172^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178db7d30f94707efca1a189753c105ef69942ed;p=pandora-kernel.git spi: Fix device unregistration when unregistering the bus master Device are added as children of the bus master's parent device, but spi_unregister_master() looks for devices to unregister in the bus master's children. This results in the child devices not being unregistered. Fix this by registering devices as direct children of the bus master. Signed-off-by: Laurent Pinchart Signed-off-by: Grant Likely --- Reading git-diff-tree failed