]> git.baikalelectronics.ru Git - kernel.git/commit
spi: release device claimed by bus_find_device_by_name
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>
Fri, 16 Apr 2010 09:52:59 +0000 (09:52 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 28 Apr 2010 07:14:05 +0000 (01:14 -0600)
commite9a5d76c8229341324fdf92c1528031a6b017b00
tree183138a6db30ce3f002c65cae7304c27927edaa9
parent6433f12d89d5d1de5f8f18924ac6cfd4659b645d
spi: release device claimed by bus_find_device_by_name

In success case the function bus_find_device_by_name calls
get_device. In our context put_device should be called to
decrease the device count usage.

Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c