dmaengine: shdma: add to_sh_dev define
commitc4e0dd7835d12d9765a372b586a5020ac29cc706
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 16 Jun 2011 05:08:09 +0000 (16 05:08 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Jun 2011 06:03:36 +0000 (16 15:03 +0900)
treeaf369cefba6bdef916b44d4ef6f040495d8d1213
parent19a1166fa2352f9c07a5ab34a3c2aab462cff35d
dmaengine: shdma: add to_sh_dev define

This patch adds "to_sh_dev" macro, and clean up codes.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c
drivers/dma/shdma.h