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 <[email protected]>
Cc: linux-edac <[email protected]>
Cc: Loc Ho <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
Krzysztof Kozlowski 2015-07-10 14:47:23 +09:00 • committed by Borislav Petkov
commit ca12bb14fe

View 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,
},
};