]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: comedi: adv_pci1723: remove comedi_device 'write_subdev' init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 21 Nov 2014 21:22:37 +0000 (14:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:40:00 +0000 (15:40 -0800)
commit14ec0838665367b169804a822a65015a1b486986
tree7a2a79dc5f0b01c176bb00c978d107f23d3f363e
parentc3a132c75d8a978f46adbabe74ce470384de0a90
staging: comedi: adv_pci1723: remove comedi_device 'write_subdev' init

The comedi_device 'write_subdev' should only be initialized if the subdevice
supports async commands.

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>
drivers/staging/comedi/drivers/adv_pci1723.c