mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
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 = {
|
static struct platform_driver caam_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "caam",
|
.name = "caam",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = caam_match,
|
.of_match_table = caam_match,
|
||||||
},
|
},
|
||||||
.probe = caam_probe,
|
.probe = caam_probe,
|
||||||
|
@ -514,7 +514,6 @@ MODULE_DEVICE_TABLE(of, caam_jr_match);
|
|||||||
static struct platform_driver caam_jr_driver = {
|
static struct platform_driver caam_jr_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "caam_jr",
|
.name = "caam_jr",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = caam_jr_match,
|
.of_match_table = caam_jr_match,
|
||||||
},
|
},
|
||||||
.probe = caam_jr_probe,
|
.probe = caam_jr_probe,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user