diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-04-07 02:00:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 15:31:04 (GMT) |
commit | 7aec35661733c651f616f9b3f69d758f6bfe2a7f (patch) | |
tree | 9c8a77b7b9195d1b1aab1ae48cccace95da96702 /drivers/hwmon/applesmc.c | |
parent | 04b95d2f7453d64f89ca1d8c3e70bcc7cc38320f (diff) | |
download | linux-fsl-qoriq-7aec35661733c651f616f9b3f69d758f6bfe2a7f.tar.xz |
Blackfin SPI Driver: unify duplicated code in dma read/write paths
For DMA TX/RX operation in pump_transfers, DMA contriguration code in TX
and RX paths are almost the same. This patch unify the duplicated DMA
code to make it more readable.
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
0 files changed, 0 insertions, 0 deletions