commit | 40a3ee02f8ce9ecdc1ea085d0b59502baa8976c3 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Sep 05 11:02:40 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 11:58:24 2012 -0700 |
tree | b7164866dd7adf5e4a31986991c4f698b904bdd5 | |
parent | c396147048fff69d764e5c3d2adca875c7c90a58 [diff] |
staging: comedi: das08: Use struct comedi_device hw_dev for PCI Remove the pointer to the PCI device from the private data `struct das08_private_struct`. Use `comedi_set_hw_dev()` to save a pointer to the PCI device (actually, its embedded `struct device`) and `comedi_to_pci_dev()` to retrieve it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>