Consistently use pdev as the variable of type struct pci_dev *.
authorMatti Linnanvuori <mattilinnanvuori@yahoo.com>
Mon, 28 Apr 2008 16:48:10 +0000 (09:48 -0700)
committerJesse Barnes <jbarnes@hobbes.lan>
Mon, 28 Apr 2008 16:48:24 +0000 (09:48 -0700)
commit819e32377e401669d2c010f1a0ce12fe43ea5261
treec961e2367b89167409c2744e97af8b335a7d7934
parentb7aa1f1603bea4fdec49a915712dea280cfd07e8
Consistently use pdev as the variable of type struct pci_dev *.
Update DMA mapping documentation to use 'pdev' rather than 'dev' in
example code that calls routines expecting 'struct pci_device *', since 'dev'
might make readers think they're passing 'struct device *' parameters.
Bug 10397.

Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com>
Acked-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Documentation/DMA-mapping.txt