Skip to content

Commit

Permalink
nvdimm: virtio_pmem: drop owner assignment
Browse files Browse the repository at this point in the history
virtio core already sets the .owner, so driver does not need to.

Acked-by: Dave Jiang <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]
Reviewed-by: Pankaj Gupta <[email protected]>
  • Loading branch information
krzk authored and mstsirkin committed May 22, 2024
1 parent 19680c7 commit 9dceed1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/nvdimm/virtio_pmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9dceed1

Please sign in to comment.