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 <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>
This commit is contained in:
parent
d770e558e2
commit
ca12bb14fe
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue