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: NJonathan Cameron <jic23@kernel.org> Reported-by: NOtavio Salvador <otavio@ossystems.com.br> Tested-by: NOtavio Salvador <otavio@ossystems.com.br> Reviewed-by: NLars-Peter Clausen <lars@metafoo.de>
Showing
想要评论请 注册 或 登录