diff options
author | Rijo Thomas | 2020-01-09 18:23:21 +0530 |
---|---|---|
committer | Herbert Xu | 2020-01-16 15:18:13 +0800 |
commit | f9568eae924717c37f8f1a42a22eaa1754a96053 (patch) | |
tree | 41500a803062d136e23cb92d9db3345dbe165778 /drivers | |
parent | 2929015535fa355f604564ae5e542fd3c9179410 (diff) |
tee: amdtee: rename err label to err_device_unregister
Rename err label to err_device_unregister for better
readability.
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tee/amdtee/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tee/amdtee/core.c b/drivers/tee/amdtee/core.c index c657b9728eae..45402844b669 100644 --- a/drivers/tee/amdtee/core.c +++ b/drivers/tee/amdtee/core.c @@ -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: |