ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
commitaa4d72ae946a4fa40486b871717778734184fa29
tree5c98641f00a7866e28a364861b9af9b6df606fdd
parentb9cc98697d1ca35a86bbb708acc6d93993c28f0f
ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes

If the calling convention of ->timer_fn() and ->cleanup_fn() are unified
across hardware versions we can drop parameters to ioat_init_channel() and
unify ioat_is_dma_complete() implementations.

Both ->timer_fn() and ->cleanup_fn() are modified to expect a struct
dma_chan pointer.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/dma_v3.c