From: Daniel Mack Date: Sun, 22 Sep 2013 14:50:00 +0000 (+0200) Subject: dma: cppi41: pass around device instead of platform_device X-Git-Tag: v3.13-rc1~29^2~23^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e327e21fb2099119c21e0b9ff7ee0847c19a6735;p=pandora-kernel.git dma: cppi41: pass around device instead of platform_device Instead of passing around struct plafform_device, use struct device and save one level of dereferencing. This affects the following functions: * cppi41_add_chans * purge_descs * deinit_cpii41 * init_descs * init_cppi41 * cppi_glue_infos It's just a cosmetic cleanup that makes the code more readable. Signed-off-by: Daniel Mack Signed-off-by: Vinod Koul --- Reading git-diff-tree failed