From: Ian Abbott Date: Wed, 5 Sep 2012 10:02:40 +0000 (+0100) Subject: staging: comedi: das08: Use struct comedi_device hw_dev for PCI X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~687 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40a3ee02f8ce9ecdc1ea085d0b59502baa8976c3;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed