virtio: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:55 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:55 +0000 (16:21 +0200)
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>
drivers/virtio/virtio_mmio.c

index ef9a1650bb804147410f5f8c7ce2bb70426f2728..5b0917670f89a1f08166f05135c4c20492fbe006 100644 (file)
@@ -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,
        },
 };