From: David Lamparter Date: Mon, 30 Aug 2010 21:54:17 +0000 (+0200) Subject: spi: free children in spi_unregister_master, not siblings X-Git-Tag: v2.6.36-rc5~44^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34860089c9e8abcc77428d29743b37ff756197e7;p=pandora-kernel.git spi: free children in spi_unregister_master, not siblings introduced by 49dce689 ("spi doesn't need class_device") and bad-fixed by 350d0076 ("spi: fix double-free on spi_unregister_master"), spi_unregister_master would previously device_unregister all of the spi master's siblings (instead of its children). hilarity ensues. fix it to unregister children. Signed-off-by: David Lamparter Signed-off-by: Grant Likely --- Reading git-diff-tree failed