Skip to content

Commit

Permalink
net: rfkill: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 0dd1153 commit 140bbc4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion net/rfkill/rfkill-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
};
Expand Down
1 change: 0 additions & 1 deletion net/rfkill/rfkill-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ static struct platform_driver rfkill_regulator_driver = {
.remove = rfkill_regulator_remove,
.driver = {
.name = "rfkill-regulator",
.owner = THIS_MODULE,
},
};

Expand Down

0 comments on commit 140bbc4

Please sign in to comment.