From: Jonathan Cameron Date: Sat, 22 Jun 2013 11:00:04 +0000 (+0100) Subject: iio:trigger: device_unregister->device_del to avoid double free X-Git-Tag: v3.11-rc2~3^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bade406649245292d6fcd1947cd7ad2ad8c80c1;p=pandora-kernel.git 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 Reported-by: Otavio Salvador Tested-by: Otavio Salvador Reviewed-by: Lars-Peter Clausen --- Reading git-diff-tree failed