From: H Hartley Sweeten Date: Wed, 30 Jan 2013 23:46:39 +0000 (-0700) Subject: staging: comedi: ni_daq_dio24: cleanup dio24_detach X-Git-Tag: v3.9-rc1~127^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6746dc6340ea90e04f51825042d4e5e47472b951;p=pandora-kernel.git staging: comedi: ni_daq_dio24: cleanup dio24_detach Simplify the call to subdev_8255_cleanup() to remove the need for a local variable. This driver only attaches to pcmcia devices so the test for thisboard != pcmcia_bustype will always fail. Remove the test and the unreachable release_region(). This driver also never does a request_irq() so remove the free_irq(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed