Commit ca12bb14 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Borislav Petkov

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: default avatarKrzysztof 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.comSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
parent d770e558
...@@ -1168,7 +1168,6 @@ static struct platform_driver xgene_edac_driver = { ...@@ -1168,7 +1168,6 @@ static struct platform_driver xgene_edac_driver = {
.remove = xgene_edac_remove, .remove = xgene_edac_remove,
.driver = { .driver = {
.name = "xgene-edac", .name = "xgene-edac",
.owner = THIS_MODULE,
.of_match_table = xgene_edac_of_match, .of_match_table = xgene_edac_of_match,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment