]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: no need to set hw_dev
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:47:48 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:10 +0000 (15:25 -0700)
commit5a925804f8ea3d7868d2b659fc6c31cbb8a1d925
tree37254eccac2400b6d0e97d2a268cf96a0ec51336
parent94e73a45f4418d66cd05a9ca3450c884405aed6a
staging: comedi: amplc_dio200: no need to set hw_dev

The call to `comedi_set_hw_dev()` from `dio200_pci_common_attach()` is
now unnecessary since `dio200_pci_common_attach()` is now only called
from this driver's `attach_pci` hook `dio200_attach_pci()` and the
comedi core now calls `comedi_set_hw_dev()` before calling that.  Remove
the unnecessary call.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c