]> git.baikalelectronics.ru Git - kernel.git/commit
dw_dmac: don't call platform_get_drvdata twice
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Oct 2012 14:34:10 +0000 (17:34 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:04:50 +0000 (22:04 -0800)
commit285b41d18f855c8f558aa8a3a7f91599ebb0d914
tree74aeb852826a2155547696f6b499cfa5d9d29a22
parenta5b7cce9e76981a875e31a77162c836d11960bf8
dw_dmac: don't call platform_get_drvdata twice

There is no need to call platform_get_drvdata twice as we have it already in dw
variable.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c