A 'Missing a blank line after declarations' warning fixed by inserting a blank line after struct pointer declaration. Signed-off-by: Sam Asadi <asadi.samuel@xxxxxxxxx> --- drivers/staging/comedi/drivers/amplc_pc236.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/amplc_pc236.c b/drivers/staging/comedi/drivers/amplc_pc236.c index c9a96ad..d0f81f8 100644 --- a/drivers/staging/comedi/drivers/amplc_pc236.c +++ b/drivers/staging/comedi/drivers/amplc_pc236.c @@ -515,6 +515,7 @@ static void pc236_detach(struct comedi_device *dev) comedi_legacy_detach(dev); } else if (is_pci_board(thisboard)) { struct pci_dev *pcidev = comedi_to_pci_dev(dev); + if (dev->irq) free_irq(dev->irq, dev); comedi_pci_disable(dev); -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel