diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-01-25 05:18:08 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-31 01:27:16 -0500 |
commit | 724a8577d80c6f8e9ac680be1cf419eddbd6f2a1 (patch) | |
tree | 9e6dd06f0ef4e5775d3f1000c0d8c943facfb519 /mm/prio_tree.c | |
parent | 8ca84687b91322b9eafeaf4da43a21684cd0316e (diff) |
dma40: use helpers for channel type check
The somewhat confusing check
d40c->log_num == D40_PHY_CHAN
and its variants are used in several places to check if a channel is logical or
physical. Use appropriately named helpers to do this to make the code more
readable.
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>
Diffstat (limited to 'mm/prio_tree.c')
0 files changed, 0 insertions, 0 deletions