Commit f9568eae authored by Rijo Thomas's avatar Rijo Thomas Committed by Herbert Xu

tee: amdtee: rename err label to err_device_unregister

Rename err label to err_device_unregister for better
readability.
Suggested-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarRijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 29290155
......@@ -471,7 +471,7 @@ static int __init amdtee_driver_init(void)
rc = tee_device_register(amdtee->teedev);
if (rc)
goto err;
goto err_device_unregister;
amdtee->pool = pool;
......@@ -480,7 +480,7 @@ static int __init amdtee_driver_init(void)
pr_info("amd-tee driver initialization successful\n");
return 0;
err:
err_device_unregister:
tee_device_unregister(amdtee->teedev);
err_free_pool:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment