From: Ian Abbott Date: Thu, 1 Nov 2012 18:34:37 +0000 (+0000) Subject: staging: comedi: jr3_pci: remove devpriv->pci_dev X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~673 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19d6ce544631bd6cc1649696423715c7142e85b8;p=pandora-kernel.git staging: comedi: jr3_pci: remove devpriv->pci_dev The `pci_dev` member of `struct jr3_pci_dev_private` is used to point to the `struct pci_dev`. This is redundant as the `struct comedi_device` already has a pointer to the `struct device` within the `struct pci_dev` and there is a convenient inline function, `comedi_to_pci_dev(dev)` that returns a pointer to the `struct pci_dev`. Remove the redundant `pci_dev` member and use alternate ways to get at the `struct pci_dev`. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed