dma40: combine duplicated code in log_sg_to_dev
authorRabin Vincent <rabin.vincent@stericsson.com>
Tue, 25 Jan 2011 10:18:25 +0000 (11:18 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 31 Jan 2011 06:27:19 +0000 (22:27 -0800)
commite24b36bdf873b4a64545fd66da13877214d235cf
tree0490a45fe1cae96aa9a6c092172dcbba07aa6aa9
parent1c4b0927feab41346b0be971e0287aaf46eba8e0
dma40: combine duplicated code in log_sg_to_dev

Acked-by: Per Forlin <per.forlin@stericsson.com>
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ste_dma40_ll.c