commit | 680c1305e259a488f489bc887854523b6c6e0705 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed May 11 21:27:00 2011 +0800 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri May 20 00:43:07 2011 -0600 |
tree | ba5ded620005a6ff939838318b07b5060617e41a | |
parent | 0c4a1590189b426814748d2e03b95541852b3af6 [diff] |
spi/spi_sh: use spi_unregister_master instead of spi_master_put in remove path spi_master_put() should only be used in error handling. Once spi_register_master() returns success, we should call spi_unregister_master() instead. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>