net: rfkill: 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:
Родитель
0dd1153813
Коммит
140bbc4af0
|
@ -171,7 +171,6 @@ static struct platform_driver rfkill_gpio_driver = {
|
||||||
.remove = rfkill_gpio_remove,
|
.remove = rfkill_gpio_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rfkill_gpio",
|
.name = "rfkill_gpio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.acpi_match_table = ACPI_PTR(rfkill_acpi_match),
|
.acpi_match_table = ACPI_PTR(rfkill_acpi_match),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -142,7 +142,6 @@ static struct platform_driver rfkill_regulator_driver = {
|
||||||
.remove = rfkill_regulator_remove,
|
.remove = rfkill_regulator_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rfkill-regulator",
|
.name = "rfkill-regulator",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче