forked from Minki/linux
crypto: drop owner assignment from platform_drivers
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>
This commit is contained in:
parent
c6ec883212
commit
5573bc03c6
@ -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),
|
||||
},
|
||||
};
|
||||
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
@ -724,7 +724,6 @@ static struct platform_driver bfin_crypto_crc_driver = {
|
||||
.resume = bfin_crypto_crc_resume,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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),
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user