From: H Hartley Sweeten Date: Thu, 18 Apr 2013 21:32:12 +0000 (-0700) Subject: staging: comedi: das16: use comedi_legacy_detach() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adfaa207ca4140fe6a09550549308248e651e2b9;p=pandora-kernel.git staging: comedi: das16: use comedi_legacy_detach() Use the new comedi_legacy_detach() helper in the (*detach) to release the first I/O region requested by this driver. An additional I/O region is requested for some of the boards this driver supports. Save the iobase for that region in the private data so that the (*detach) knows it needs to be released. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed