From: Geliang Tang Date: Sat, 6 May 2017 15:35:29 +0000 (+0800) Subject: crypto: mediatek - drop .owner field in mtk_crypto_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9162917fafd36690491af35a262e628c2ffd8a7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git crypto: mediatek - drop .owner field in mtk_crypto_driver Drop .owner field in mtk_crypto_driver, since platform_driver_register() will set it automatically. Signed-off-by: Geliang Tang Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/mediatek/mtk-platform.c b/drivers/crypto/mediatek/mtk-platform.c index 9b4437c857b9..000b6500a22d 100644 --- a/drivers/crypto/mediatek/mtk-platform.c +++ b/drivers/crypto/mediatek/mtk-platform.c @@ -588,7 +588,6 @@ static struct platform_driver mtk_crypto_driver = { .remove = mtk_crypto_remove, .driver = { .name = "mtk-crypto", - .owner = THIS_MODULE, .of_match_table = of_crypto_id, }, };