]> git.karo-electronics.de Git - linux-beck.git/commit
DMAENGINE: ste_dma40: removed a few magic numbers
authorJonas Aaberg <jonas.aberg@stericsson.com>
Mon, 9 Aug 2010 12:08:18 +0000 (12:08 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 22 Sep 2010 21:53:45 +0000 (14:53 -0700)
commit3ae0267fd569c2007235fb80cfe3b4a4c54c8f4b
tree1d300eead20bff1737b3e79c48ee0bd0640ea0dd
parent0246e77b4d374bb37aa08c3fcadad20012e85ea0
DMAENGINE: ste_dma40: removed a few magic numbers

Make sure to extract the revision field explicitly and document
what bits are being accessed here without magic numbers.

Signed-off-by: Jonas Aaberg <jonas.aberg@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.c
drivers/dma/ste_dma40_ll.h