From: Wolfram Sang <wsa@the-dreams.de>
Date: Mon, 20 Oct 2014 14:21:55 +0000 (+0200)
Subject: virtio: drop owner assignment from platform_drivers
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=257d6e5a3bc7866703748b4ca07dd67f3c1e35ba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

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,
 	},
 };