Skip to content
Snippets Groups Projects
Commit 73e67d38 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

zio-irq-tdc: bug fix in unlikely error path


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarFederico Vaga <federico.vaga@gmail.com>
parent 6931b380
Branches
Tags
No related merge requests found
......@@ -229,7 +229,7 @@ static int __init ztdc_init(void)
zio_unregister_device(ztdc_dev);
out_register:
zio_free_device(ztdc_dev);
zio_free_device(ztdc_init_dev);
out_alloc:
zio_unregister_driver(&ztdc_zdrv);
return err;
......
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