]> git.baikalelectronics.ru Git - kernel.git/commit
s390/ism: switch from 'pci_' to 'dma_' API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 14 Sep 2021 08:33:20 +0000 (10:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2021 11:46:30 +0000 (12:46 +0100)
commita1ac1b6e4137f5bb5cbb4a79456193c9ed1127d4
treeaf161ca0bbd565771762abc51b138d051981ae4a
parent478a31403b365d2f7b35a0cae8ee3e0594dc5bb1
s390/ism: switch from 'pci_' to 'dma_' API

The wrappers in include/linux/pci-dma-compat.h should go away.

The patch has been generated with the coccinelle script below.

@@
expression e1, e2;
@@
-    pci_set_dma_mask(e1, e2)
+    dma_set_mask(&e1->dev, e2)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ism_drv.c