reset: 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
51aa31b49f
commit
569d5e911b
|
@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = {
|
|||
.remove = socfpga_reset_remove,
|
||||
.driver = {
|
||||
.name = "socfpga-reset",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = socfpga_reset_dt_ids,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = {
|
|||
.remove = sunxi_reset_remove,
|
||||
.driver = {
|
||||
.name = "sunxi-reset",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sunxi_reset_dt_ids,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue