]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: wireless: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:16 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:16 +0000 (16:21 +0200)
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>
drivers/net/wireless/mac80211_hwsim.c

index babbdc1ce741c62024bc6220fdcf2a7bd3487790..1510a3b7b5eb93ba39caf97e01f84483ceed2949 100644 (file)
@@ -395,7 +395,6 @@ static int hwsim_radio_idx;
 static struct platform_driver mac80211_hwsim_driver = {
        .driver = {
                .name = "mac80211_hwsim",
-               .owner = THIS_MODULE,
        },
 };