diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-14 21:34:13 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-04 11:16:19 -0700 |
commit | 123f87758658285f5f844d7e8a8b974ce88d1ffc (patch) | |
tree | 5f385e189782aa7fb92e4c728653e0e30cc43beb /drivers/scsi/ufs | |
parent | 808cbb68de49b8d9d72f9bdf28251c8a87c96f39 (diff) | |
download | linux-123f87758658285f5f844d7e8a8b974ce88d1ffc.tar.bz2 |
[SCSI] ufs: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufshcd-pltfrm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 03319acd9c72..3db2ee1a38bd 100644 --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c @@ -184,7 +184,6 @@ static int ufshcd_pltfrm_remove(struct platform_device *pdev) mem_size = resource_size(mem_res); release_mem_region(mem_res->start, mem_size); } - platform_set_drvdata(pdev, NULL); return 0; } |