From patchwork Wed Jul 6 13:30:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: weiyj_lk@163.com X-Patchwork-Id: 9216395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2676360467 for ; Wed, 6 Jul 2016 13:30:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16E32288CC for ; Wed, 6 Jul 2016 13:30:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BB8F288CE; Wed, 6 Jul 2016 13:30:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9B9C6288CC for ; Wed, 6 Jul 2016 13:30:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bKmue-0002Yt-AA; Wed, 06 Jul 2016 13:30:48 +0000 Received: from m12-16.163.com ([220.181.12.16]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bKmuU-0002Sj-Nb; Wed, 06 Jul 2016 13:30:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=TC2ZA Nnt+1AD+99BnMVjonvoecKJe4NXJJslPzTZXrQ=; b=QEB9dbe4bnES8BD6QRRN3 gMgiKF113zM68SqZDt3U6+WCgiAjW0IeHTEAP2raOsOHbeyMhE1oeLjvZU2b+wKb Z7henwMqY1FPLMX4daE1Kha95HpSR0ou3KKK+61wzk5I7i36XzMqZSrpw9pWKs3p ctWSkJ5kom+SoD3I8/EKrM= Received: from localhost.localdomain.localdomain (unknown [49.77.207.185]) by smtp12 (Coremail) with SMTP id EMCowAB3f1fmB31XfT6MAw--.45731S2; Wed, 06 Jul 2016 21:30:15 +0800 (CST) From: weiyj_lk@163.com To: Felix Fietkau , John Crispin , Matthias Brugger Subject: [PATCH -next] net: mediatek: remove .owner field for driver Date: Wed, 6 Jul 2016 13:30:13 +0000 Message-Id: <1467811813-4864-1-git-send-email-weiyj_lk@163.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CM-TRANSID: EMCowAB3f1fmB31XfT6MAw--.45731S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7WryUCF18tF43CF43Jry3twb_yoW3Wrc_uw n09F1Ivr45GFyFkayIkr43C34Fkr4kXrn5AFy3KFWaqasrWr15Gr4qvryxXF4qgw1vy3Zr Aw43Xa48C347tjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUeTrW7UUUUU== X-Originating-IP: [49.77.207.185] X-CM-SenderInfo: pzhl5yxbonqiywtou0bp/1tbiRwee1lc64MaACgAAsJ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160706_063039_163926_C8B0E899 X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Wei Yongjun , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Remove .owner field since calls to module_platform_driver() will set it automatically. Signed-off-by: Wei Yongjun --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 682797e..760f3d7 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -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, }, };