ARM: OMAP: dma: Remove the erroneous freeing of platform data
authorRajendra Nayak <rnayak@ti.com>
Thu, 13 Jun 2013 14:17:11 +0000 (19:47 +0530)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 7 Jun 2015 20:27:32 +0000 (23:27 +0300)
commitc4989452317a1112bd1ba887a30eff719ce8f1ff
treeb48287e64941f73775bb270acaf458787cc49674
parent19d743760c22016af76852912595b7a8ea9709e5
ARM: OMAP: dma: Remove the erroneous freeing of platform data

Given p = pdev->dev.platform_data; and
      d = p->dma_attr;
the freeing of either one of these by the driver
seems just plain wrong.

Get rid of them in the .probe failure path as well as the
.remove.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c