diff options
author | David Lamparter <equinox@diac24.net> | 2010-08-30 23:54:17 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-09-01 09:15:24 -0600 |
commit | 34860089c9e8abcc77428d29743b37ff756197e7 (patch) | |
tree | c52ff089b36289ee4792d850acf0af9eb246b135 /drivers/spi/spi_s3c64xx.c | |
parent | 4e4438b86527e8bf1f49503a30d487e401e64f9c (diff) | |
download | talos-obmc-linux-34860089c9e8abcc77428d29743b37ff756197e7.tar.gz talos-obmc-linux-34860089c9e8abcc77428d29743b37ff756197e7.zip |
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 <equinox@diac24.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_s3c64xx.c')
0 files changed, 0 insertions, 0 deletions