diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-01-30 16:43:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-03 19:27:36 -0600 |
commit | 07c5b441de2caf7e12c5a3e6caf7ae536f2adc2f (patch) | |
tree | d97877f8cc2f86fd0f4d92ddaca5b709cb5b0238 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 7044ae812bd0c3a483d860efd6fd2f0e2ff5d22b (diff) |
staging: comedi: ni_daq_dio24: cleanup pcmcia probe/remove
Absorb the code from dio24_config() into the probe function,
dio24_cs_attach() and properly return the error code when the
probe fails. This also gets rid of an unnecessary forward
declaration.
For aesthetic reasons, move the remove functio, dio24_cs_detach(),
so it's after the probe function.
Remove a number of dev_{level} noise messages in the probe/remove
functions.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions