projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9d62d
)
libnvdimm/of_pmem: Fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 26 Feb 2019 01:42:53 +0000
(
01:42
+0000)
committer
Dan Williams
<dan.j.williams@intel.com>
Sat, 2 Mar 2019 08:05:35 +0000
(
00:05
-0800)
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: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/of_pmem.c
patch
|
blob
|
history
diff --git
a/drivers/nvdimm/of_pmem.c
b/drivers/nvdimm/of_pmem.c
index
0a70183
..
11b9821
100644
(file)
--- a/
drivers/nvdimm/of_pmem.c
+++ b/
drivers/nvdimm/of_pmem.c
@@
-108,7
+108,6
@@
static struct platform_driver of_pmem_region_driver = {
.remove = of_pmem_region_remove,
.driver = {
.name = "of_pmem",
- .owner = THIS_MODULE,
.of_match_table = of_pmem_region_match,
},
};