From: Russell King Date: Fri, 8 Nov 2013 18:21:35 +0000 (+0000) Subject: ARM: omap: dma: get rid of 'p' allocation and clean up X-Git-Tag: v3.15-rc1~82^2~1^5~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a378fcb9273d73dbd6b209952d2f6bf88a3dd0;p=pandora-kernel.git ARM: omap: dma: get rid of 'p' allocation and clean up The omap_system_dma_plat_info structure is only seven words, it's not worth the expense of kmalloc()'ing backing store for this only to release it later. Note that platform_device_add_data() copies the data anyway. Clean up the initialisation of this structure - we don't even need code to initialise most of this structure. Acked-by: Tony Lindgren Signed-off-by: Russell King --- Reading git-diff-tree failed