net: mediatek: remove .owner field for driver
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 6 Jul 2016 13:30:13 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2016 05:31:36 +0000 (22:31 -0700)
Remove .owner field since calls to module_platform_driver() will
set it automatically.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c

index 682797ea5e113452a127d3d2f0d4992a6af078e8..760f3d71eda3ba9f09cceb3e4261322da7030475 100644 (file)
@@ -1910,7 +1910,6 @@ static struct platform_driver mtk_driver = {
        .remove = mtk_remove,
        .driver = {
                .name = "mtk_soc_eth",
-               .owner = THIS_MODULE,
                .of_match_table = of_mtk_match,
        },
 };