]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: wireless: ath: ath9k: 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/ath/ath9k/ahb.c

index 4173838f468486f97a2e7796ba33ebb1d5704d47..e000c4c2788158edb25d6f086004ebe2517fa4bf 100644 (file)
@@ -175,7 +175,6 @@ static struct platform_driver ath_ahb_driver = {
        .remove     = ath_ahb_remove,
        .driver         = {
                .name   = "ath9k",
-               .owner  = THIS_MODULE,
        },
        .id_table    = ath9k_platform_id_table,
 };