Files
linux/drivers/spi
Laurent Pinchart 32da4c5715 spi: Fix device unregistration when unregistering the bus master
commit 178db7d30f upstream.

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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Takahiro AKASHI <akashi@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-27 09:51:09 -07:00
..
2011-05-18 23:24:50 +02:00
2011-03-31 11:26:23 -03:00
2011-05-24 15:17:22 +10:00
2011-05-20 00:43:00 -06:00
2011-05-20 00:43:00 -06:00
2011-03-31 11:26:23 -03:00
2011-02-22 14:59:53 -07:00
2011-03-31 11:26:23 -03:00
2011-02-03 09:55:43 -07:00
2011-03-15 08:17:22 -07:00