parport_ip32: pass struct device to DMA API functions
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Dec 2018 13:07:11 +0000 (14:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 8 Apr 2019 15:52:24 +0000 (17:52 +0200)
commit4217efa353c6754005bf5198001a79fed751fe76
tree1c6708bf6b1f00557da367f98a5862d0eea3b7e4
parentc13edf8106f6ad1edb9b7e011351fbaf83ceb992
parport_ip32: pass struct device to DMA API functions

The DMA API generally relies on a struct device to work properly, and
only barely works without one for legacy reasons.  Pass the easily
available struct device from the platform_device to remedy this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/parport/parport_ip32.c