diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-11-18 17:07:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 23:57:40 (GMT) |
commit | ac93d19adcd3ac4eecb246bdb6bc458c73865199 (patch) | |
tree | 3829e077d4055658d4973dd32066fd7a7cdb2cd0 /net/core/net-sysfs.h | |
parent | a1132fc1bb6914940aeaa68f32a79ca846e2090f (diff) | |
download | linux-ac93d19adcd3ac4eecb246bdb6bc458c73865199.tar.xz |
staging: comedi: adv_pci_dio: absorb pci_dio_add_do()
This function initializes a digitial output subdevice. For aesthetics,
absorb it into the (*auto_attach).
Remove the improper initialization of the SDF_LSAMPL subdev_flag and
len_chanlist. These are only used by subdevices that support async
commands.
Also remove the unnecessary initilaization of the subdevice 'state'.
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 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions