mirror of https://gitee.com/openkylin/linux.git
crypto: caam: 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
1a8cdf6e3a
commit
7464d31b3c
|
@ -720,7 +720,6 @@ MODULE_DEVICE_TABLE(of, caam_match);
|
|||
static struct platform_driver caam_driver = {
|
||||
.driver = {
|
||||
.name = "caam",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = caam_match,
|
||||
},
|
||||
.probe = caam_probe,
|
||||
|
|
|
@ -514,7 +514,6 @@ MODULE_DEVICE_TABLE(of, caam_jr_match);
|
|||
static struct platform_driver caam_jr_driver = {
|
||||
.driver = {
|
||||
.name = "caam_jr",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = caam_jr_match,
|
||||
},
|
||||
.probe = caam_jr_probe,
|
||||
|
|
Loading…
Reference in New Issue