powerpc/powernv: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 19 Nov 2015 04:00:39 +0000 (13:00 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Nov 2015 03:21:28 +0000 (14:21 +1100)
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-prd.c

index 4ece8e40dd5414868ef9934d7a809578c37f2743..e315e704cca7100cc22ee9f335701659684e744d 100644 (file)
@@ -434,7 +434,6 @@ static const struct of_device_id opal_prd_match[] = {
 static struct platform_driver opal_prd_driver = {
        .driver = {
                .name           = "opal-prd",
-               .owner          = THIS_MODULE,
                .of_match_table = opal_prd_match,
        },
        .probe  = opal_prd_probe,