Re: [PATCH] dw_dmac: use devm_* functions to simplify code
On Tue, 2012-07-24 at 11:00 +0300, Andy Shevchenko 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 > Cc: Viresh Kumar Applied thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] dw_dmac: use devm_* functions to simplify code
On Tue, 2012-07-24 at 11:00 +0300, Andy Shevchenko 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.shevche...@linux.intel.com Cc: Viresh Kumar viresh.li...@gmail.com Applied thanks -- ~Vinod -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] dw_dmac: use devm_* functions to simplify code
On Tue, Jul 24, 2012 at 9:00 AM, Andy Shevchenko 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 > Cc: Viresh Kumar > --- > drivers/dma/dw_dmac.c | 53 > +--- > drivers/dma/dw_dmac_regs.h |2 -- > 2 files changed, 10 insertions(+), 45 deletions(-) Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] dw_dmac: use devm_* functions to simplify code
On Tue, Jul 24, 2012 at 9:00 AM, Andy Shevchenko andriy.shevche...@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.shevche...@linux.intel.com Cc: Viresh Kumar viresh.li...@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.ku...@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/