From: Rabin Vincent Date: Tue, 25 Jan 2011 10:18:08 +0000 (+0100) Subject: dma40: use helpers for channel type check X-Git-Tag: v2.6.39-rc1~203^2~15^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=724a8577d80c6f8e9ac680be1cf419eddbd6f2a1;p=pandora-kernel.git 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 Acked-by: Jonas Aaberg Signed-off-by: Rabin Vincent Signed-off-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed