projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808cbb6
)
[SCSI] ufs: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 14 May 2013 16:04:13 +0000
(21:34 +0530)
committer
James Bottomley
<JBottomley@Parallels.com>
Tue, 4 Jun 2013 18:16:19 +0000
(11:16 -0700)
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>
drivers/scsi/ufs/ufshcd-pltfrm.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/ufs/ufshcd-pltfrm.c
b/drivers/scsi/ufs/ufshcd-pltfrm.c
index 03319acd9c72004f8b72800a3b004d66dd78cc35..3db2ee1a38bd4edfc0172938eeffde071c7b6a5e 100644
(file)
--- 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;
}