Re: [PATCH v2] staging: vt6655: remove deprecated use of pci api

2015-03-20 Thread Dan Carpenter
Use the --in-reply-to option. There were no responses to the first version of this email so Greg is going to apply that one. (I guess it's still possible that someone will reply to it now, I suppose). > --- > Changes since v1: >- Replaces GFP_ATOMIC by GFP_KERNEL since no lock is taken befo

[PATCH v2] staging: vt6655: remove deprecated use of pci api

2015-03-20 Thread Quentin Lambert
Replace occurences of the pci api by appropriate call to the dma api. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @deprecated@ idexpression id; position p; @@ ( pci_dma_supported@p ( id, ...) | pci_alloc_consistent@p ( id, ...