Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afab1633 authored by YueHaibing's avatar YueHaibing Committed by Alistair Delva
Browse files

UPSTREAM: 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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
(cherry picked from commit 316720b9c2341307b9a17103cdafa1ca9b2fb872)
Bug: 146400078
Bug: 148297388
Change-Id: I16e7543bcb786e20e96ea4250a809bb3b7f1ec32
Signed-off-by: default avatarAlistair Delva <adelva@google.com>
parent 9ca89392
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
	},
};