diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-21 18:52:54 +0900 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-25 14:37:13 +0530 |
commit | 4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1 (patch) | |
tree | 99a4ab07c5fa1b8987eaa5be642f564ff054087f /drivers/dma | |
parent | b1baec525e75bcf4dd8c8824cfde476a98b13bab (diff) | |
download | op-kernel-dev-4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1.zip op-kernel-dev-4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1.tar.gz |
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.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 608d4a2..cb9c0bc 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; } |