staging: comedi: cb_pcimdda: store the pci_dev in the comedi_device
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 17 Aug 2012 02:49:38 +0000 (19:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 15:14:33 +0000 (08:14 -0700)
commit8b00a2f801866bd89a70f082cd0f322c7019d476
tree7ba4eea7539fc5965eac43a5260b9f61d22bd1d7
parenta9ce3eefa55038d1a80b388cf885ea52f8f84433
staging: comedi: cb_pcimdda: store the pci_dev in the comedi_device

Use the hw_dev pointer in the comed_device struct to hold the
pci_dev instead of carrying it in the private data.

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