OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed4c113
)
scsi: ufs: Fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 13 Nov 2018 01:26:17 +0000
(
01:26
+0000)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 13 Dec 2018 02:37:56 +0000
(21:37 -0500)
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/cdns-pltfrm.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/ufs/cdns-pltfrm.c
b/drivers/scsi/ufs/cdns-pltfrm.c
index
8bcf863
..
4a37b4f
100644
(file)
--- a/
drivers/scsi/ufs/cdns-pltfrm.c
+++ b/
drivers/scsi/ufs/cdns-pltfrm.c
@@
-135,7
+135,6
@@
static struct platform_driver cdns_ufs_pltfrm_driver = {
.remove = cdns_ufs_pltfrm_remove,
.driver = {
.name = "cdns-ufshcd",
- .owner = THIS_MODULE,
.pm = &cdns_ufs_dev_pm_ops,
.of_match_table = cdns_ufs_of_match,
},