Loading drivers/net/ax88796.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -838,12 +838,12 @@ static int ax_probe(struct platform_device *pdev) /* find the platform resources */ /* find the platform resources */ dev->irq = platform_get_irq(pdev, 0); ret = platform_get_irq(pdev, 0); if (dev->irq < 0) { if (ret < 0) { dev_err(&pdev->dev, "no IRQ specified\n"); dev_err(&pdev->dev, "no IRQ specified\n"); ret = -ENXIO; goto exit_mem; goto exit_mem; } } dev->irq = ret; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (res == NULL) { if (res == NULL) { Loading Loading
drivers/net/ax88796.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -838,12 +838,12 @@ static int ax_probe(struct platform_device *pdev) /* find the platform resources */ /* find the platform resources */ dev->irq = platform_get_irq(pdev, 0); ret = platform_get_irq(pdev, 0); if (dev->irq < 0) { if (ret < 0) { dev_err(&pdev->dev, "no IRQ specified\n"); dev_err(&pdev->dev, "no IRQ specified\n"); ret = -ENXIO; goto exit_mem; goto exit_mem; } } dev->irq = ret; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (res == NULL) { if (res == NULL) { Loading