]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/mv_cesa.c
Merge branch 'topic/error' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[karo-tx-linux.git] / drivers / crypto / mv_cesa.c
index e6b658faef63a37df57e497b45637f7815e7dbf5..104e9ce9400aaeffee5ea89ea05e133083b5845c 100644 (file)
@@ -1091,11 +1091,8 @@ static int mv_probe(struct platform_device *pdev)
 
        cp->max_req_size = cp->sram_size - SRAM_CFG_SPACE;
 
-       if (pdev->dev.of_node)
-               irq = irq_of_parse_and_map(pdev->dev.of_node, 0);
-       else
-               irq = platform_get_irq(pdev, 0);
-       if (irq < 0 || irq == NO_IRQ) {
+       irq = platform_get_irq(pdev, 0);
+       if (irq < 0) {
                ret = irq;
                goto err;
        }