libnvdimm/of_pmem: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Tue, 26 Feb 2019 01:42:53 +0000 (01:42 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sat, 2 Mar 2019 08:05:35 +0000 (00:05 -0800)
commit316720b9c2341307b9a17103cdafa1ca9b2fb872
tree36d408b8406c15bf243be2f41ece552c3f80a949
parent5c9d62d0026a439a785e473859cb3ec9b11a69e9
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>
drivers/nvdimm/of_pmem.c