summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/of_pmem.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-02-26 04:42:53 +0300
committerDan Williams <dan.j.williams@intel.com>2019-03-02 11:05:35 +0300
commit316720b9c2341307b9a17103cdafa1ca9b2fb872 (patch)
tree36d408b8406c15bf243be2f41ece552c3f80a949 /drivers/nvdimm/of_pmem.c
parent5c9d62d0026a439a785e473859cb3ec9b11a69e9 (diff)
downloadlinux-316720b9c2341307b9a17103cdafa1ca9b2fb872.tar.xz
libnvdimm/of_pmem: Fix platform_no_drv_owner.cocci warnings
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>
Diffstat (limited to 'drivers/nvdimm/of_pmem.c')
-rw-r--r--drivers/nvdimm/of_pmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvdimm/of_pmem.c b/drivers/nvdimm/of_pmem.c
index 0a701837dfc0..11b9821eba85 100644
--- 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,
},
};