staging: comedi: dt282x: use dev->read_subdev
[deliverable/linux.git] / drivers / mfd / ucb1x00-core.c
index d5966e6b5a7d8058a9ff37f15a86204ffe6ffe6c..0313f839e8fadc32228b9c892edb31a449b53ace 100644 (file)
@@ -553,6 +553,7 @@ static int ucb1x00_probe(struct mcp *mcp)
        if (ucb->irq_base < 0) {
                dev_err(&ucb->dev, "unable to allocate 16 irqs: %d\n",
                        ucb->irq_base);
+               ret = ucb->irq_base;
                goto err_irq_alloc;
        }
 
This page took 0.040772 seconds and 5 git commands to generate.