diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-01-30 16:47:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-03 19:27:37 -0600 |
commit | 5a1daad46a99f1f33b2559ff87a0fb9b01a07c87 (patch) | |
tree | 09f3aec2d47ffb421a9e4d26290c0127448606d4 /tools/perf/scripts/python/sctop.py | |
parent | 6746dc6340ea90e04f51825042d4e5e47472b951 (diff) |
staging: comedi: ni_daq_dio24: convert to auto attach
Convert this pcmcia driver to the comedi auto attach mechanism.
This allows getting rid of the "hack" needed to pass the pcmcia_device
pointer from the pcmcia_driver to the comedi_driver as well as the
now unnecessary boardinfo.
Check the call to subdev_8255_init() for success. That function does
a kzalloc and could return -ENOMEM.
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/sctop.py')
0 files changed, 0 insertions, 0 deletions