aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-21 05:52:54 -0400
committerVinod Koul <vinod.koul@intel.com>2013-08-25 05:07:13 -0400
commit4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1 (patch)
tree99a4ab07c5fa1b8987eaa5be642f564ff054087f /drivers/dma
parentb1baec525e75bcf4dd8c8824cfde476a98b13bab (diff)
dma: ipu: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ipu/ipu_idmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c
index 608d4a261654..cb9c0bc317e8 100644
--- a/drivers/dma/ipu/ipu_idmac.c
+++ b/drivers/dma/ipu/ipu_idmac.c
@@ -1764,7 +1764,6 @@ static int ipu_remove(struct platform_device *pdev)
1764 iounmap(ipu->reg_ic); 1764 iounmap(ipu->reg_ic);
1765 iounmap(ipu->reg_ipu); 1765 iounmap(ipu->reg_ipu);
1766 tasklet_kill(&ipu->tasklet); 1766 tasklet_kill(&ipu->tasklet);
1767 platform_set_drvdata(pdev, NULL);
1768 1767
1769 return 0; 1768 return 0;
1770} 1769}