mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
misc: carma: 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
9bcde613ea
commit
98dc3b5edf
@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = {
|
||||
.driver = {
|
||||
.name = drv_name,
|
||||
.of_match_table = fpga_of_match,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = {
|
||||
.driver = {
|
||||
.name = drv_name,
|
||||
.of_match_table = data_of_match,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user