[...] > > @@ -39,57 +36,48 @@ static const struct iio_trigger_ops iio_interrupt_trigger_ops = { > static int iio_interrupt_trigger_probe(struct platform_device *pdev) > { > struct iio_interrupt_trigger_info *trig_info; > - struct iio_trigger *trig, *trig2; > + struct iio_trigger *trig; > unsigned long irqflags; > struct resource *irq_res; > int irq, ret = 0, irq_res_cnt = 0; > [...] > + irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, irq_res_cnt); irq_res_cnt is always zero. > [...] -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html