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)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Jun 2013 07:09:57 +0000 (00:09 -0700)
commit86d4d78c320d335c2699d4897720b8eb1b934e47
tree71fe0a702b253c4c698e1249a55cf88a86c1b089
parentf0a3ff271779ba969415902f9426bfd2302dc4ba
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