--- zzzz-none-000/linux-3.10.107/drivers/uwb/umc-dev.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/uwb/umc-dev.c 2021-02-04 17:41:59.000000000 +0000 @@ -66,6 +66,7 @@ return 0; error_device_register: + put_device(&umc->dev); release_resource(&umc->resource); error_request_resource: return err;