linux/drivers/char/xillybus
Christophe JAILLET 3e053c44ef char: xillybus: Remove usage of remaining deprecated pci_ API
'struct xilly_endpoint' has a 'dev' field which is a 'struct device *' and
a 'pdev' field which is 'struct pci_dev *'.

Both fields are initialized by 'xillybus_init_endpoint()' and in
'xillybus_pcie.c', we have:
	xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw);
                                 ^       ^
        xilly_endpoint.pdev = ___|       |___ = xilly_endpoint.dev
So the modification from pci_ to dma_ function is straightforward.

Update all remaining deprecated pci_ function calls to equivalent
dma_ API function.
Switching from 'ep->pdev' to 'ep->dev' makes the transformation
straightforward.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/19d67ac0208a609aef1e28278b3f2477aa714029.1630083668.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-14 11:12:56 +02:00
..
Kconfig char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) 2021-05-27 14:07:41 +02:00
Makefile char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) 2021-05-27 14:07:41 +02:00
xillybus_class.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillybus_class.h char: xillybus: Move class-related functions to new xillybus_class.c 2021-05-27 14:07:41 +02:00
xillybus_core.c char: xillybus: Remove usage of remaining deprecated pci_ API 2021-09-14 11:12:56 +02:00
xillybus_of.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillybus_pcie.c char: xillybus: Remove usage of remaining deprecated pci_ API 2021-09-14 11:12:56 +02:00
xillybus.h char: xillybus: Remove usage of remaining deprecated pci_ API 2021-09-14 11:12:56 +02:00
xillyusb.c char: xillybus: Fix spelling mistake "overflew" -> "overflowed" 2021-06-03 14:11:08 +02:00