diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-02-26 04:42:53 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-02 11:05:35 +0300 |
commit | 316720b9c2341307b9a17103cdafa1ca9b2fb872 (patch) | |
tree | 36d408b8406c15bf243be2f41ece552c3f80a949 /drivers/nvdimm | |
parent | 5c9d62d0026a439a785e473859cb3ec9b11a69e9 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/nvdimm/of_pmem.c | 1 |
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, }, }; |