da8xx-fb: pass struct device to DMA API functions
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Jan 2019 08:05:27 +0000 (09:05 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 8 Apr 2019 15:52:24 +0000 (17:52 +0200)
commit12a7b035cacc8e0c59698213db6c5643540b82f4
treec09f0a2d45e657b44da4d174d462dad4c08c7de7
parent4217efa353c6754005bf5198001a79fed751fe76
da8xx-fb: 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>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/da8xx-fb.c