Received: by 10.213.65.68 with SMTP id h4csp1210275imn; Mon, 26 Mar 2018 03:08:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELs6OHR+tv+7NTwVwbO1hmG98ftso/1O9VBsBhf/PlFQEZm6s5I0kp1+IPV/Mz3YrzGIO9HY X-Received: by 2002:a17:902:5066:: with SMTP id f35-v6mr40212839plh.14.1522058905639; Mon, 26 Mar 2018 03:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522058905; cv=none; d=google.com; s=arc-20160816; b=ZthEJDKRhXEqjZWUIj1K2DjcN6s7cVbHgMRmPelOcIH0VHM5QWxbt2o5z3AjaHjQDi NhMUFObR2qVADPyfPtM2StUB/8PQ53W0hio/NgEXEsOIeI3nFxTxDtd5Mx/May2rIxFR 3HUB2fmJ4LOUlpB+LUPrfJn5y6saGzonThbvbgz8uHTY4jpS2kBD1NscXz9zdtK+fuUz n6cLJ6ZkEZhlmE+H0LPCoaUxhYI/czLB4z8EOtKGanj+TbaJFIWfVmuNkpNW6NRZlwqa YL18mkUEfXQyMfQf/P28/Ww6DCcwb7CCA32ARNEgBzEHu1I2x6FvXUb3dNYQlMpECUBL 17gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=quhTLot/qETNypnDFCUJvCBixyAjLK54DmK98D5z5yM=; b=TDic+BzOjrVFjxHtyCaHYasPlWHAh+kgjRoE6Hb4NZOWkn3W15u0rh5yKz1eT+T8Az dqOa5URmrIS3tJxR69QEHBcNt97bWGJ3Os1sM8uVHOcqmi/CAILwgH30X8PdAfRtOABs hdIBCGL0Ajkr1bA/iF6H+0ngyX2lJCVXE3Pfe4ccTuIJZi9n1y+Ttfivnvz24OuLHSYT qIYbuJMlMzf0VsxNkHjHF2FTwbjf/nIekOxlu/opa/7vmjEHrkRKGdG2DUqfr3AUywte 40y3nRiJs1EV5J6fgkJk5eDJtc2hM2w3SGn9XHBPw9O7uqYutiesgJ6SdUR9x99fwxDt 2xgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si11404059pld.748.2018.03.26.03.08.11; Mon, 26 Mar 2018 03:08:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751335AbeCZKHT (ORCPT + 99 others); Mon, 26 Mar 2018 06:07:19 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:4407 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750972AbeCZKHS (ORCPT ); Mon, 26 Mar 2018 06:07:18 -0400 X-UUID: a082c9abfd184a4a88d5b9ad57c8f8e2-20180326 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 984700577; Mon, 26 Mar 2018 18:07:13 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 26 Mar 2018 18:07:11 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 26 Mar 2018 18:07:12 +0800 From: To: , , , CC: , , , Sean Wang Subject: [PATCH net 1/2] net: dsa: mt7530: remove redundant MODULE_ALIAS entries Date: Mon, 26 Mar 2018 18:07:09 +0800 Message-ID: <2497321afc9156f7954e813721f60a0a95c03bd2.1522057659.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23742.005 X-TM-AS-Result: No-4.063600-8.000000-10 X-TMASE-MatchedRID: yFGXaP8bkQPLqx3pQDUvTo0JVVcEm48nXs5nqGvDCfOl4EP+dy+wBGEj 04n4UkciNMW1025grLlEOP/MktCQ9nEjLiYgp5vhA9lly13c/gH6rVj794QCttzOQo7mTgA+RtW kGiser322b29ZkF3sdYAy6p60ZV62JW+71yEen6Zq8/xv2Um1avoLR4+zsDTt9VPDReA7LdpUhZ OAl5dYSpHcxFW7O9OWjgNIuROEf4ChO7qS+5OmfPPZN+fTfGhMCMKvvxu8zHtk8l0x+l/9p5UsT 6pavlpwYMIU3vZURpHaQLtLC8aUqEPBvsmCWGHWUWQ7Bol0IqC+I8SpxyUS3MC+ksT6a9fy X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.063600-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23742.005 X-TMASE-POSTMAN: 2-d; X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang MODULE_ALIAS exports information to allow the module to be auto-loaded at boot for the drivers registered using legacy platform registration. However, currently the driver is always used by DT-only platform, MODULE_ALIAS is redundant and should be removed properly. Signed-off-by: Sean Wang --- drivers/net/dsa/mt7530.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 8a0bb00..d31246c 100644 --- a/drivers/net/dsa/mt7530.c +++ b/drivers/net/dsa/mt7530.c @@ -1424,4 +1424,3 @@ mdio_module_driver(mt7530_mdio_driver); MODULE_AUTHOR("Sean Wang "); MODULE_DESCRIPTION("Driver for Mediatek MT7530 Switch"); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:mediatek-mt7530"); -- 2.7.4