From: H Hartley Sweeten Date: Thu, 5 Dec 2013 20:43:25 +0000 (-0700) Subject: staging: comedi: das1800: tidy up irq request X-Git-Tag: v3.14-rc1~150^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed7a693f1391c053a355e7210c238bcb4fb7a332;p=pandora-kernel.git staging: comedi: das1800: tidy up irq request This driver only needs an irq in order to support async commands. If the irq is not available the driver will still function for single analog input reads. Tidy up the code that does the irq requests so that the driver will still attach if it is not avaliable. Remove the noise about the irq during the attach. Only hook up the async commands support if the irq is available. Remove the then unnecessary sanity check in das1800_ai_do_cmd(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed