summaryrefslogtreecommitdiff
path: root/drivers/dma/ipu/ipu_idmac.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-21 13:52:54 +0400
committerVinod Koul <vinod.koul@intel.com>2013-08-25 13:07:13 +0400
commit4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1 (patch)
tree99a4ab07c5fa1b8987eaa5be642f564ff054087f /drivers/dma/ipu/ipu_idmac.c
parentb1baec525e75bcf4dd8c8824cfde476a98b13bab (diff)
downloadlinux-4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1.tar.xz
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/ipu/ipu_idmac.c')
-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)
iounmap(ipu->reg_ic);
iounmap(ipu->reg_ipu);
tasklet_kill(&ipu->tasklet);
- platform_set_drvdata(pdev, NULL);
return 0;
}