summaryrefslogtreecommitdiff
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-05-11 21:28:16 +0800
committerGrant Likely <grant.likely@secretlab.ca>2011-05-20 00:43:07 -0600
commit8901e1b98e1dad75c4567d03dd00a59bd6c450e8 (patch)
treec5c78d6bc7bd6b0500503ed4523bb08fa6414e33 /drivers/spi/spidev.c
parent680c1305e259a488f489bc887854523b6c6e0705 (diff)
downloadlinux-3.10-8901e1b98e1dad75c4567d03dd00a59bd6c450e8.tar.gz
linux-3.10-8901e1b98e1dad75c4567d03dd00a59bd6c450e8.tar.bz2
linux-3.10-8901e1b98e1dad75c4567d03dd00a59bd6c450e8.zip
spi/spi_tegra: use spi_unregister_master() instead of spi_master_put()
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>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions