From: Nicolas Ferre Date: Tue, 22 Nov 2011 10:55:54 +0000 (+0100) Subject: dmaengine: at_hdmac: simplify device selection from platform data or DT X-Git-Tag: v3.3-rc1~19^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f88be9488a3d831f073c1161b1e5feacb9d3ec;p=pandora-kernel.git dmaengine: at_hdmac: simplify device selection from platform data or DT Using a configuration structure simplify the finding of SoC dependent parameters. Both platform data and device tree ids are using these structures. This will separate data from code and remove the need for an enum. Idea from Grant Likely. Signed-off-by: Nicolas Ferre Signed-off-by: Vinod Koul --- Reading git-diff-tree failed