diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-21 11:52:54 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-25 11:07:13 +0200 |
commit | 4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1 (patch) | |
tree | 99a4ab07c5fa1b8987eaa5be642f564ff054087f /drivers/dma/ipu/ipu_idmac.c | |
parent | dma: mxs-dma: remove code left from generic DMA binding conversion (diff) | |
download | linux-4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1.tar.xz linux-4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1.zip |
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.c | 1 |
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; } |