From: Krzysztof Kozlowski Date: Fri, 10 Jul 2015 05:47:23 +0000 (+0900) Subject: EDAC, xgene: Drop owner assignment from platform_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca12bb14fee138603d17b1d68906abeebaa09b30;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git EDAC, xgene: Drop owner assignment from platform_driver platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski Cc: linux-edac Cc: Loc Ho Cc: Mauro Carvalho Chehab Link: http://lkml.kernel.org/r/1436507243-11159-1-git-send-email-k.kozlowski@samsung.com Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/xgene_edac.c b/drivers/edac/xgene_edac.c index 14636e4b6a08..ba06904af2e1 100644 --- a/drivers/edac/xgene_edac.c +++ b/drivers/edac/xgene_edac.c @@ -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, }, };