staging: comedi: ke_counter: store the pci_dev in the comedi_device
commit6e4996bcd82453e43b324e53f5353e5c0fe625a2
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 02:02:50 +0000 (18 19:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:51:38 +0000 (19 16:51 -0700)
tree9decdccb3aaad331b9c17995fbb897e0a1e01706
parentf32e6061d5756b795eca58549093d5de7cd6d952
staging: comedi: ke_counter: 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.

Since the pci_dev was the only thing in the private data, remove
the struct, the devpriv macro, and it's allocation.

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/ke_counter.c