Explorar o código

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>
Wolfram Sang %!s(int64=10) %!d(string=hai) anos
pai
achega
140bbc4af0
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      net/rfkill/rfkill-gpio.c
  2. 0 1
      net/rfkill/rfkill-regulator.c

+ 0 - 1
net/rfkill/rfkill-gpio.c

@@ -171,7 +171,6 @@ static struct platform_driver rfkill_gpio_driver = {
 	.remove = rfkill_gpio_remove,
 	.driver = {
 		.name = "rfkill_gpio",
-		.owner = THIS_MODULE,
 		.acpi_match_table = ACPI_PTR(rfkill_acpi_match),
 	},
 };

+ 0 - 1
net/rfkill/rfkill-regulator.c

@@ -142,7 +142,6 @@ static struct platform_driver rfkill_regulator_driver = {
 	.remove = rfkill_regulator_remove,
 	.driver = {
 		.name = "rfkill-regulator",
-		.owner = THIS_MODULE,
 	},
 };