From: H Hartley Sweeten Date: Thu, 18 Apr 2013 21:33:22 +0000 (-0700) Subject: staging: comedi: drivers: use comedi_legacy_detach() in simple drivers X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21208519d42404150fef42283a20192ffe08b0af;p=pandora-kernel.git staging: comedi: drivers: use comedi_legacy_detach() in simple drivers Use the new comedi_legacy_detach() helper in the (*detach) to release the I/O region requested by these drivers. Since the (*detach) for these drivers only releases the region, remove the private (*detach) functions and use comedi_legacy_detach() directly for the (*detach). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed