commit | 8bade406649245292d6fcd1947cd7ad2ad8c80c1 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Sat Jun 22 12:00:04 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jun 29 13:26:11 2013 +0100 |
tree | 7ebd69124799c82fd5d27e23217cec0fe6491d0c | |
parent | 94fccb78414a87f3c4bc7049ff8b6e80156944d9 [diff] |
iio:trigger: device_unregister->device_del to avoid double free iio_trigger unregistration and freeing has been separated in this code for some time, but it looks like the calls to the device handling were not appropriately updated. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reported-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>