Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-2
-1
net/rfkill/rfkill-gpio.c
··· 171 171 .remove = rfkill_gpio_remove, 172 172 .driver = { 173 173 .name = "rfkill_gpio", 174 - .owner = THIS_MODULE, 175 174 .acpi_match_table = ACPI_PTR(rfkill_acpi_match), 176 175 }, 177 176 };
-1
net/rfkill/rfkill-regulator.c
··· 142 142 .remove = rfkill_regulator_remove, 143 143 .driver = { 144 144 .name = "rfkill-regulator", 145 - .owner = THIS_MODULE, 146 145 }, 147 146 }; 148 147