mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
char: 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
571b8c6adb
commit
06861ab52b
@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev)
|
||||
static struct platform_driver sonypi_driver = {
|
||||
.driver = {
|
||||
.name = "sonypi",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = SONYPI_PM,
|
||||
},
|
||||
.probe = sonypi_probe,
|
||||
|
@ -337,7 +337,6 @@ static struct platform_driver tb0219_device_driver = {
|
||||
.remove = tb0219_remove,
|
||||
.driver = {
|
||||
.name = "TB0219",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user