EDAC, xgene: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:47:23 +0000 (14:47 +0900)
committerBorislav Petkov <bp@suse.de>
Fri, 10 Jul 2015 12:16:24 +0000 (14:16 +0200)
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>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Loc Ho <lho@apm.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Link: http://lkml.kernel.org/r/1436507243-11159-1-git-send-email-k.kozlowski@samsung.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/xgene_edac.c

index 14636e4b6a08b617337addfe4bb66fe395c7e575..ba06904af2e1c2dc9f574caa8d82c4478f3c42df 100644 (file)
@@ -1168,7 +1168,6 @@ static struct platform_driver xgene_edac_driver = {
        .remove = xgene_edac_remove,
        .driver = {
                .name = "xgene-edac",
-               .owner = THIS_MODULE,
                .of_match_table = xgene_edac_of_match,
        },
 };