vfio: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 19 Nov 2015 04:00:14 +0000 (13:00 +0900)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 19 Nov 2015 22:52:08 +0000 (15:52 -0700)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_platform.c

index f1625dcfbb23d49d6b0586977a203462df0e75a5..b1cc3a768784426fbf7616316aa9731f21b77ddb 100644 (file)
@@ -92,7 +92,6 @@ static struct platform_driver vfio_platform_driver = {
        .remove         = vfio_platform_remove,
        .driver = {
                .name   = "vfio-platform",
-               .owner  = THIS_MODULE,
        },
 };