diff options
author | Daniel Mack <zonque@gmail.com> | 2013-09-22 16:50:00 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-07 04:11:39 +0200 |
commit | e327e21fb2099119c21e0b9ff7ee0847c19a6735 (patch) | |
tree | dd1ef0c990979bdd0dd7f0649a3b639e7ab09297 /lib/klist.c | |
parent | dma: tegra20-apb-dma: Staticize tegra_dma_prep_dma_cyclic (diff) | |
download | linux-e327e21fb2099119c21e0b9ff7ee0847c19a6735.tar.xz linux-e327e21fb2099119c21e0b9ff7ee0847c19a6735.zip |
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 <zonque@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions