crypto: mediatek - drop .owner field in mtk_crypto_driver
authorGeliang Tang <geliangtang@gmail.com>
Sat, 6 May 2017 15:35:29 +0000 (23:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:11:50 +0000 (14:11 +0800)
Drop .owner field in mtk_crypto_driver, since platform_driver_register()
will set it automatically.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mediatek/mtk-platform.c

index 9b4437c857b91fb8e54b7737009ad463943e6264..000b6500a22d2fb3d6780203e9f082a74038ea33 100644 (file)
@@ -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,
        },
 };