edma: do not waste memory for dma_mask
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Feb 2013 09:00:19 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Feb 2013 14:30:53 +0000 (20:00 +0530)
commit373459eee0cd79f775ef9874395bb37638154777
tree850b828d96f39bf3f04ee4a05a540b0438c18060
parent9b562639a1dbef847dfc9daa807bd3e7e02ef24f
edma: do not waste memory for dma_mask

Accordingly to commentary in the platform_device_register_full the memory
allocated for dma_mask will not going to be freed. That's why is better to
assign dma_mask afterwards.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c
This page took 0.026665 seconds and 5 git commands to generate.