From: H Hartley Sweeten Date: Wed, 10 Apr 2013 17:03:59 +0000 (-0700) Subject: staging: comedi: das1800: use __comedi_request_region() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fdbc75b70967f78cbd508e33c4a1da9e90b09f8;p=pandora-kernel.git staging: comedi: das1800: use __comedi_request_region() Use __comedi_request_region() to request the additional I/O region used by this driver. Remove the error message when the request_region() fails, comedi_request_reqion() will output the error message if necessary. For aesthetic reasons, rename the local variable 'retval' to simply 'ret'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed