summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/virtio-rng.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-31 10:43:55 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-05-22 14:31:16 +0200
commit6098bb388499e9c0cdca27b657c23a3227816c4d (patch)
treea7ae8a5972a60597c5e39b0f86c23f427ea6cee2 /drivers/char/hw_random/virtio-rng.c
parentbluetooth: virtio: drop owner assignment (diff)
downloadlinux-6098bb388499e9c0cdca27b657c23a3227816c4d.tar.xz
linux-6098bb388499e9c0cdca27b657c23a3227816c4d.zip
hwrng: virtio: drop owner assignment
virtio core already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Message-Id: <20240331-module-owner-virtio-v2-8-98f04bfaf46a@linaro.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/char/hw_random/virtio-rng.c')
-rw-r--r--drivers/char/hw_random/virtio-rng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index 7a4b45393acb..dd998f4fe4f2 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -245,7 +245,6 @@ static const struct virtio_device_id id_table[] = {
static struct virtio_driver virtio_rng_driver = {
.driver.name = KBUILD_MODNAME,
- .driver.owner = THIS_MODULE,
.id_table = id_table,
.probe = virtrng_probe,
.remove = virtrng_remove,