dmaengine/amba-pl08x: Call pl08x_free_txd() instead of calling kfree() directly
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:45 +0000 (15:02 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:05:07 +0000 (19:05 +0530)
commit57001a606f845ce2eda21a0f23e6aab20ee0cb04
treee66120a192e0a98b0c2d0ca0255331edeb6db0d2
parent0a2356572b1910cc977f4ccf3c9ee1ecab08327a
dmaengine/amba-pl08x: Call pl08x_free_txd() instead of calling kfree() directly

pl08x_prep_channel_resources() is calling kfree() directly for txd(). To
maintain consistency in code call pl08x_free_txd() instead.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c