summaryrefslogtreecommitdiffstats
path: root/drivers/dma/omap-dma.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-11-08 19:21:35 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-04-04 01:31:47 +0200
commit34a378fcb9273d73dbd6b209952d2f6bf88a3dd0 (patch)
treeb53e2def902af95a291603dd8a1b2d00a45b7719 /drivers/dma/omap-dma.c
parentARM: omap: move dma channel allocation into plat-omap code (diff)
downloadlinux-34a378fcb9273d73dbd6b209952d2f6bf88a3dd0.tar.xz
linux-34a378fcb9273d73dbd6b209952d2f6bf88a3dd0.zip
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 <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma/omap-dma.c')
0 files changed, 0 insertions, 0 deletions