Tag: f3b1e4db825aeef5337501c88c15894ac33f732e

staging: comedi: drivers: gsc_hpdi: Remove use of deprecated pci API

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Replace pci_[alloc|free]_consistent occurences with dma_[alloc|free]_coherent. The Coccinelle semantic patch that was used to make some of these changes is as follows: @deprecated@ idexpression id; position p; @@ ( pci_dma_supported@p ( id, …) | pci_alloc_consistent@p ( id, …) ) @bad1@ idexpression id; position deprecated.p; @@ …when != &id->dev when != pci_get_drvdata …

Continue reading