i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL
authorMark Ware <mware@elphinstone.net>
Tue, 21 Apr 2009 12:49:02 +0000 (22:49 +1000)
committerBen Dooks <ben-linux@fluff.org>
Mon, 11 May 2009 23:36:04 +0000 (00:36 +0100)
Recent DMA changes result in a BUG() when NULL is passed to
dma_alloc_coherent in place of a device.

Signed-off-by: Mark Ware <mware@elphinstone.net>
[ben-linux@fluff.org: fix patch moves]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found