From: H Hartley Sweeten Date: Tue, 26 Nov 2013 23:41:46 +0000 (-0700) Subject: staging: comedi: dmm32at: tidy up the irq support in dmm32at_attach() X-Git-Tag: v3.14-rc1~150^2~631 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c2e55324199d89aaea816ce7a76571c3f88d158;p=pandora-kernel.git staging: comedi: dmm32at: tidy up the irq support in dmm32at_attach() An irq is only needed by this driver in order to support async commands. Since it is optional, modify the attach so that if the request_irq() fails the attach does not fail. Remove the printk noise about the irq. Only hookup the async command support if the request_irq() was successful. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed