crypto: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
13 files changed:
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-sha.c
drivers/crypto/atmel-tdes.c
drivers/crypto/bfin_crc.c
drivers/crypto/mv_cesa.c
drivers/crypto/mxs-dcp.c
drivers/crypto/n2_core.c
drivers/crypto/omap-aes.c
drivers/crypto/omap-des.c
drivers/crypto/omap-sham.c
drivers/crypto/s5p-sss.c
drivers/crypto/sahara.c
drivers/crypto/talitos.c

index a083474991abbb343aa330160ff988f34635b268..53d1c330f8a82d5cffddeaedeb896d8d300bd7d3 100644 (file)
@@ -1473,7 +1473,6 @@ static struct platform_driver atmel_aes_driver = {
        .remove         = atmel_aes_remove,
        .driver         = {
                .name   = "atmel_aes",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_aes_dt_ids),
        },
 };
index 9a4f69eaa5e0bd1e8556c2064e3642b187722aba..d94f07c78e193677ffea6557f409c543883f74cd 100644 (file)
@@ -1529,7 +1529,6 @@ static struct platform_driver atmel_sha_driver = {
        .remove         = atmel_sha_remove,
        .driver         = {
                .name   = "atmel_sha",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_sha_dt_ids),
        },
 };
index d3a9041938eafef2ff3a1d31cdcdf6a4b65d5a87..5e7c896cde307cd791c14a6903f1fbf5c639ab1c 100644 (file)
@@ -1524,7 +1524,6 @@ static struct platform_driver atmel_tdes_driver = {
        .remove         = atmel_tdes_remove,
        .driver         = {
                .name   = "atmel_tdes",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_tdes_dt_ids),
        },
 };
index b099e33cb07303dff8e32da36fdfc589426d0bc0..ef5b58ad49ade5d4661f7a9e9749abbd8915d8ea 100644 (file)
@@ -724,7 +724,6 @@ static struct platform_driver bfin_crypto_crc_driver = {
        .resume    = bfin_crypto_crc_resume,
        .driver    = {
                .name  = DRIVER_NAME,
-               .owner = THIS_MODULE,
        },
 };
 
index 032c72c1f9539488011123901b1567a92b4731bd..f91f15ddee926ffeb7d470d3823f699194bc9d40 100644 (file)
@@ -1180,7 +1180,6 @@ static struct platform_driver marvell_crypto = {
        .probe          = mv_probe,
        .remove         = mv_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "mv_crypto",
                .of_match_table = mv_cesa_of_match_table,
        },
index b5f7e6db24d42fa3bcc84662fb206bab7dcc7e19..829d6394fb3334cded7c4d5a9f4c4b7d5b5c26d0 100644 (file)
@@ -1090,7 +1090,6 @@ static struct platform_driver mxs_dcp_driver = {
        .remove = mxs_dcp_remove,
        .driver = {
                .name           = "mxs-dcp",
-               .owner          = THIS_MODULE,
                .of_match_table = mxs_dcp_dt_ids,
        },
 };
index f8e3207fecb1c97b3c8fb6dca06b33e01d5f32d8..afd136b45f49b1fa0a933cd4a33412f830298bcb 100644 (file)
@@ -2210,7 +2210,6 @@ MODULE_DEVICE_TABLE(of, n2_crypto_match);
 static struct platform_driver n2_crypto_driver = {
        .driver = {
                .name           =       "n2cp",
-               .owner          =       THIS_MODULE,
                .of_match_table =       n2_crypto_match,
        },
        .probe          =       n2_crypto_probe,
@@ -2238,7 +2237,6 @@ MODULE_DEVICE_TABLE(of, n2_mau_match);
 static struct platform_driver n2_mau_driver = {
        .driver = {
                .name           =       "ncp",
-               .owner          =       THIS_MODULE,
                .of_match_table =       n2_mau_match,
        },
        .probe          =       n2_mau_probe,
index cb98fa54573d21fb785996c0a0b9423aece080e4..f79dd410dede65c90b03e008b376375f4bb8e5d4 100644 (file)
@@ -1314,7 +1314,6 @@ static struct platform_driver omap_aes_driver = {
        .remove = omap_aes_remove,
        .driver = {
                .name   = "omap-aes",
-               .owner  = THIS_MODULE,
                .pm     = &omap_aes_pm_ops,
                .of_match_table = omap_aes_of_match,
        },
index b8bc84be874178397e7c3ccf51e1bbca2e926634..e350f5be4d2ebcfd4451850ebe70f54365d4036b 100644 (file)
@@ -1222,7 +1222,6 @@ static struct platform_driver omap_des_driver = {
        .remove = omap_des_remove,
        .driver = {
                .name   = "omap-des",
-               .owner  = THIS_MODULE,
                .pm     = &omap_des_pm_ops,
                .of_match_table = of_match_ptr(omap_des_of_match),
        },
index 24ef48965e45cc00d0319a579056e6259794da0b..3c76696ee57887569504f9644bd89acdcad0121a 100644 (file)
@@ -2029,7 +2029,6 @@ static struct platform_driver omap_sham_driver = {
        .remove = omap_sham_remove,
        .driver = {
                .name   = "omap-sham",
-               .owner  = THIS_MODULE,
                .pm     = &omap_sham_pm_ops,
                .of_match_table = omap_sham_of_match,
        },
index 4197ad9a711bd6c04e8a993f3fafe1a6e553dea2..f214a875582731cd2850b162b5ba96e161c6b4b6 100644 (file)
@@ -745,7 +745,6 @@ static struct platform_driver s5p_aes_crypto = {
        .probe  = s5p_aes_probe,
        .remove = s5p_aes_remove,
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "s5p-secss",
                .of_match_table = s5p_sss_dt_match,
        },
index 164e1ec624e3c7e2a9ca6234a8100f98cec8894d..8e10a48239b28147a63aa5f64ed2a86057d13ea8 100644 (file)
@@ -1045,7 +1045,6 @@ static struct platform_driver sahara_driver = {
        .remove         = sahara_remove,
        .driver         = {
                .name   = SAHARA_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = sahara_dt_ids,
        },
        .id_table = sahara_platform_ids,
index 624b8be0c3650e311cefad544d194d4e3cabc282..067ec2193d718dbb05d4b45fe4a53a11224ad989 100644 (file)
@@ -2811,7 +2811,6 @@ MODULE_DEVICE_TABLE(of, talitos_match);
 static struct platform_driver talitos_driver = {
        .driver = {
                .name = "talitos",
-               .owner = THIS_MODULE,
                .of_match_table = talitos_match,
        },
        .probe = talitos_probe,