summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/virtio_pmem.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-31 11:44:08 +0300
committerMichael S. Tsirkin <mst@redhat.com>2024-05-22 15:31:18 +0300
commit9dceed1b0a35d8667e7a8512f7a30a2c9b189f66 (patch)
treef20257dd4b16635fe3d22b761a19b7301213c0ca /drivers/nvdimm/virtio_pmem.c
parent19680c70faa1f1070365bb1ad0e573b6ff353c31 (diff)
downloadlinux-9dceed1b0a35d8667e7a8512f7a30a2c9b189f66.tar.xz
nvdimm: virtio_pmem: drop owner assignment
virtio core already sets the .owner, so driver does not need to. Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Message-Id: <20240331-module-owner-virtio-v2-21-98f04bfaf46a@linaro.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Diffstat (limited to 'drivers/nvdimm/virtio_pmem.c')
-rw-r--r--drivers/nvdimm/virtio_pmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvdimm/virtio_pmem.c b/drivers/nvdimm/virtio_pmem.c
index 4ceced5cefcf..c9b97aeabf85 100644
--- a/drivers/nvdimm/virtio_pmem.c
+++ b/drivers/nvdimm/virtio_pmem.c
@@ -151,7 +151,6 @@ static struct virtio_driver virtio_pmem_driver = {
.feature_table = features,
.feature_table_size = ARRAY_SIZE(features),
.driver.name = KBUILD_MODNAME,
- .driver.owner = THIS_MODULE,
.id_table = id_table,
.validate = virtio_pmem_validate,
.probe = virtio_pmem_probe,