diff options
author | 2013-04-18 14:33:04 -0700 | |
---|---|---|
committer | 2013-04-19 11:19:53 -0700 | |
commit | e608796ab624049419e987be32f81ab08486c7ba (patch) | |
tree | 1b864e07662a4c26263ffeb78e772cf7b165253c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: comedi: das16m1: check for subdev_8255_init() failure (diff) | |
download | linux-dev-e608796ab624049419e987be32f81ab08486c7ba.tar.xz linux-dev-e608796ab624049419e987be32f81ab08486c7ba.zip |
staging: comedi: das1800: 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. The iobase for that region is stored in the private data so
that the (*detach) knows it needs to be released. Remove the extra
cleanup in the (*attach) that releases the first region.
For aesthetics, move the release of the additional region in the
(*detach) so it follows the (*attach) order.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions