summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-04-10 03:30:11 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-11 23:47:53 +0400
commitca8b296409c9800923fd431af15345e4da872bc0 (patch)
tree129ee516c6e2bc28dd5a6e595e3ce2b09f95ebb1 /tools/perf/scripts/python
parent07e6ed00b15f7c7fd856857e5edf4d890c3a94e9 (diff)
downloadlinux-ca8b296409c9800923fd431af15345e4da872bc0.tar.xz
staging: comedi: drivers: refactor comedi_request_region()
Split comedi_request_region() into two helper functions. __comedi_request_region() Handles the actual request_region() call. comedi_request_region() Calls __comedi_request_region() and then sets dev->iobase if the request was successful. This allows drivers to use the __comedi_request_region() helper to handle the request without setting the dev->iobase. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions