]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/dma/ste_dma40.c
dmaengine: ste_dma40: Allocate plat_data on declaration
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:32:10 +0000 (15:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:03 +0000 (21:13 +0200)
commitbb75d93b903afcd0904c83850835857fd9f8ef2d
tree96dd624af2294a3813f8a5c2337ef0ffcfd3a41d
parentb2abb249de5ffca71ade8b79c9969e046fc03722
dmaengine: ste_dma40: Allocate plat_data on declaration

It's the way that most other drivers do it.

Very trivial clean-up which reduces line count and simplifies code.

Acked-by: Vinod Koul <vnod.koul@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/dma/ste_dma40.c