lkml.org 
[lkml]   [2012]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] dw_dmac: use devm_* functions to simplify code
From
On Tue, Jul 24, 2012 at 9:00 AM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> Use devm_kzalloc, devm_clk_get, devm_request_irq, and devm_request_and_ioremap
> to reduce the code and to simplify the error path.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: Viresh Kumar <viresh.linux@gmail.com>
> ---
> drivers/dma/dw_dmac.c | 53 +++++++++-----------------------------------
> drivers/dma/dw_dmac_regs.h | 2 --
> 2 files changed, 10 insertions(+), 45 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


\
 
 \ /
  Last update: 2012-07-24 11:02    [W:0.208 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site