summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:55 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:55 +0200
commit257d6e5a3bc7866703748b4ca07dd67f3c1e35ba (patch)
treeefedb716bfd9ed885e45468325e4ee727b0343e1 /drivers
parent3dd15a12486c6435b1d04b78ccf0b348880d0bfb (diff)
virtio: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/virtio/virtio_mmio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index ef9a1650bb80..5b0917670f89 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -639,7 +639,6 @@ static struct platform_driver virtio_mmio_driver = {
.remove = virtio_mmio_remove,
.driver = {
.name = "virtio-mmio",
- .owner = THIS_MODULE,
.of_match_table = virtio_mmio_match,
},
};