diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:58 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:58 +0200 |
commit | 140bbc4af034aca57641eedcc82d35cc36947674 (patch) | |
tree | 8b993fab99708ebb35a4d4bdc17abe8ff782a168 | |
parent | 0dd115381375408110d7848cfbc5b5d0fafc1d44 (diff) | |
download | linux-140bbc4af034aca57641eedcc82d35cc36947674.tar.gz linux-140bbc4af034aca57641eedcc82d35cc36947674.tar.bz2 linux-140bbc4af034aca57641eedcc82d35cc36947674.zip |
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>
-rw-r--r-- | net/rfkill/rfkill-gpio.c | 1 | ||||
-rw-r--r-- | net/rfkill/rfkill-regulator.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 0f62326c0f5e..fd33aa4ec249 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/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), }, }; diff --git a/net/rfkill/rfkill-regulator.c b/net/rfkill/rfkill-regulator.c index cf5b145902e5..50cd26a48e87 100644 --- a/net/rfkill/rfkill-regulator.c +++ b/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, }, }; |