Received: by 10.213.65.68 with SMTP id h4csp1206432imn; Mon, 26 Mar 2018 03:03:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELvvR/U5mPiuTQMTEG2YZpMtz71tAxSp1CU26GGwRYxxtheFwatlD5lNKFBjWFgccUDDs5CH X-Received: by 2002:a17:902:8607:: with SMTP id f7-v6mr36345440plo.11.1522058620984; Mon, 26 Mar 2018 03:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522058620; cv=none; d=google.com; s=arc-20160816; b=vALE3wIi5R4PncGh6Kcb94hP0rHFoU84x+Y2nwsc0cuyyN+FTxRVgexqd2FsGsFiL0 EdXwbzoxTeMRo20L4wDM81CVfLHmhW6DGr1cIHVwvYwAy7aQoMniJW1mb0d6HncM+Xn1 H8cTPNH/f0wPle9UYQOCAMPD5wQYkyJzeAEmDmnwLjnKSCbalHMi6qRAp2vzsYRCtNIk GVkRi79Uawy4xNrvrCsFtmloFVAYDimhZjeZdhwIKKUxxWqILme6EfshSBxZpnDtYETy uI874EZRHGBsdnNAnV8t5BG/HLF4TvCr+gM8DksAReoOjUyXsaqyOK7NfMapX38kYbD3 +6ow== 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=NGN4WgBi/Dq6GjAhdPklICNo12U4fmidbxXL1XAHZXs=; b=qk8zjQe7Zh5yk3lBwdVqwMNblX5fygtXPlNCDAIqiywq39SYEHXwjU8DU8Wkyr4yLD cfvbITv2w5F2prIFaYTnngcuvc2B6xA8hC9N3XUwLiilzoYauzePzULdYtGsl1FxQ7Hj SiNGxtWTeV7wjAhEu70OJVRODFCD0rguX0JSM/lLH3Mj1vQ/ch974wxTYDoOAKNmAMfw CFJ/eLlkn/kdoqT0mDoYQUrGjxYbcW34zJ0+q6jNQ71IT4iGYkadSsmiKUBuJX9Du76P DG4MA4dVxLy24emvS43ocYRV4IH/OUXuYZ7NrT9ZuPAgyu1YlpWw2jBWjk82lEbAX3fL 04qA== 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 p5si2790561pga.300.2018.03.26.03.03.26; Mon, 26 Mar 2018 03:03:40 -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 S1751932AbeCZKCK (ORCPT + 99 others); Mon, 26 Mar 2018 06:02:10 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:58235 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750989AbeCZKCJ (ORCPT ); Mon, 26 Mar 2018 06:02:09 -0400 X-UUID: f3cffa3287b94c5296223148f5bf1d34-20180326 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1523270005; Mon, 26 Mar 2018 18:02:06 +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:02:04 +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:02:05 +0800 From: To: , CC: , , , , "Sean Wang" Subject: [PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries Date: Mon, 26 Mar 2018 18:02:01 +0800 Message-ID: <0fbf589c69bc584c46c683ee7fa38d80e04624f6.1522055092.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.382700-8.000000-10 X-TMASE-MatchedRID: Ei0WBMmFdJjLqx3pQDUvTo0JVVcEm48nXs5nqGvDCfOl4EP+dy+wBGEj 04n4UkciNMW1025grLlEOP/MktCQ9nEjLiYgp5vhA9lly13c/gHt/okBLaEo+N7qoZLm7F0iNuG E1/yHeZvi8zVgXoAltmHJPdY2OmlS0C1sQRfQzEHEQdG7H66TyJ8TMnmE+d0Z6dRKarUMrrQVWq yRlT7aUh6Kc65eHchzWn1zmUDUtcFlToWyw+n6G2alIygMo8bkPCAEq6enCrMu5B6q6cMXbX0++ BlWaS2/k3UkV5Qp4wSI45Rd9ORJwFlJvEhEss3fvN+d4ahMo5NWXGvUUmKP2w== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.382700-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/pwm/pwm-mediatek.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c index 98b0a93..328c1247 100644 --- a/drivers/pwm/pwm-mediatek.c +++ b/drivers/pwm/pwm-mediatek.c @@ -305,5 +305,4 @@ static struct platform_driver mtk_pwm_driver = { module_platform_driver(mtk_pwm_driver); MODULE_AUTHOR("John Crispin "); -MODULE_ALIAS("platform:mtk-pwm"); MODULE_LICENSE("GPL"); -- 2.7.4