staging: comedi: me4000: store the pci_dev in the comedi_device
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:46:51 +0000 (17:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:53:01 +0000 (21:53 -0700)
commitf4c772f0c3d6477ab18af8bd8ac239049a1af6a5
tree4b5e8ed3d6503670096c787bec8da2b35c2adabf
parent4b2f15f138f75c15f42015110af111a95f30ed22
staging: comedi: me4000: store the pci_dev in the comedi_device

Use the hw_dev pointer in the comedi_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/me4000.c
drivers/staging/comedi/drivers/me4000.h