dmaengine: PL08x: clean up get_signal/put_signal
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 May 2012 14:01:28 +0000 (15:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:38 +0000 (14:15 +0100)
commitaeea1808fe752e917b966961bde3e9603f206dec
treea826ec3a86dd99203eb30dded5b2b82ac13db0bb
parent48afb3112e6373a292e54d675e986a5da14c0516
dmaengine: PL08x: clean up get_signal/put_signal

Try to avoid dereferencing the DMA engine's channel struct in these
platform helpers; instead, pass a pointer to the channel data into
get_signal(), and the returned signal number to put_signal().

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h