crypto: crypto4xx - move up err_request_irq label
[firefly-linux-kernel-4.4.55.git] / drivers / crypto / amcc / crypto4xx_core.c
index 13f8e1a149889076aa41f95b785702c0a6fd02a5..802e85102c327c7d86d56904c13eadcee1d3287f 100644 (file)
@@ -1244,9 +1244,9 @@ err_start_dev:
        iounmap(core_dev->dev->ce_base);
 err_iomap:
        free_irq(core_dev->irq, dev);
+err_request_irq:
        irq_dispose_mapping(core_dev->irq);
        tasklet_kill(&core_dev->tasklet);
-err_request_irq:
        crypto4xx_destroy_sdr(core_dev->dev);
 err_build_sdr:
        crypto4xx_destroy_gdr(core_dev->dev);