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

index b71d2b33532de392fb68094309804bdd585d5c18..30c9dca38c5875c3fc9d7f3801c8fbb66676ccfd 100644 (file)
@@ -1075,7 +1075,6 @@ static struct platform_driver wcn36xx_driver = {
        .remove     = wcn36xx_remove,
        .driver         = {
                .name   = "wcn36xx",
-               .owner  = THIS_MODULE,
        },
        .id_table    = wcn36xx_platform_id_table,
 };