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:
Родитель
571b8c6adb
Коммит
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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче