Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1091207pxu; Thu, 17 Dec 2020 01:47:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/lmj3LGTdh6tbtiSjUwcPGBnlJl+vks6hYwNOcoUhGNtuQMTuQwQZMhW55WuiJKYZf8Us X-Received: by 2002:a05:6402:30ac:: with SMTP id df12mr39045800edb.175.1608198465884; Thu, 17 Dec 2020 01:47:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608198465; cv=none; d=google.com; s=arc-20160816; b=he2ttoZjLl62TnUBoy+P/FdRG9OYQ+DgKm4UeE012EU92U5hU4vRCdYAm8sajh/oVK Tc3BFMAw1HXvfo7XRIZePAdkKDVEYd/vRP4hdga4jMX6mcbLT6y0lhB8s0Pqq3DykRFy 8XXLZKYxEhPrOeI7RF15WsJDo0nktq1t/Ic3dChQo/v2191OJ5PIRrvMvLIYoVubNywn pMhFuj0OWfTakbETZsGVKQ/I/whabN8m58TVMxXngxNzP5t11ljwlLRl4WAWyua8xX1Y L4o7EtXXzaHdHIFECmUMCjyFkkPEHHdvN0w6oRb8TNnGCcOF7Bpf9kQtWHElcg/buYGG zUKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Eb26vIZYqeziwIPNEQ8WVlNQ04/gel37gYLbp0DOH98=; b=eRNT/Y7Vars61F22YdPzChC/uQ8K3+tHL+n5KGqObqzNn9kxZxPeg4v6By8xPDltLW EtN0IM4GxkQmh8ryFxpLqZswSfTf2NpBjpXukW6CvfKYDHz+O7VPII/FzL+cwy/cPjKP SJxjwKeR484CB5Dev08I2lWzoZ61+5xbcV83tfVMc37tpEd28OXL2RjWw2QCscXWLke4 8rHtx7CEFKlMsn/LvxeAvL2KiZ4RXgr7yFEy6WL0DqqmgpxO/kx96kvBUQRWNCltBEeW nCyFqN7FRtfgldM4nihpebgvWIuOPSd0aQNXIUwY4dq7OgI+SIR75VrSGzSBBbNGbn6i 0KdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CtT56gc+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si2344019ejb.157.2020.12.17.01.47.23; Thu, 17 Dec 2020 01:47:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CtT56gc+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbgLQJpe (ORCPT + 99 others); Thu, 17 Dec 2020 04:45:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbgLQJpc (ORCPT ); Thu, 17 Dec 2020 04:45:32 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D714CC06138C; Thu, 17 Dec 2020 01:44:51 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id x20so36200655lfe.12; Thu, 17 Dec 2020 01:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Eb26vIZYqeziwIPNEQ8WVlNQ04/gel37gYLbp0DOH98=; b=CtT56gc+5M4adUwSsrFEaOt00vem7rgFlhyIjYSb53AkOAEjSzz0rVb/A7uqBIqkp2 G4+FGz6V17bjdTnRbf+aowLYIa+gR8wwS3IBQtJ0KfybkXvL4TtoVnn10oHNSMp0pDDO 07WjuZzqDYPn2AoAvwPpxqYjvHi4rEjyU8ewbCSPEgks1H+u/5MKll5271m1RJzngf1r 1YHwGObwjYljCcKxh7PBOVbnbUwfdaMqTfDqvtJwYDwsHf1C4WBRXkMh0F8D3FE+w2nK zZCCe2k+aBSW5dwBXnJBOVR1802tXW+PU2w454K6bdLhStXmFCRmfu480W6yfIpH9dpT LVtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Eb26vIZYqeziwIPNEQ8WVlNQ04/gel37gYLbp0DOH98=; b=gA8eyql+OP1wdpPpeaDazoLN5jFxvGNeeb0X2JMlA4k6X0blLgi3t6aXShj3rVVnwg exnCp0vPkkTzVMZH7J2WkvahnZ0N8bGStUgzBPr1A0sMezy7Tuh97pMyJ9UsKMDessZL 1K/6AjKNcLoOGlf2wd6guCOSjPGtkLPMS/Y4yyE4eiu15qfAEERjzU8auI9ZeU7/eDTp DWmYgaa4XfwKywefZT2mygBNF/EBwhQCdT/2/953FM5WTAKwRphKhuPjTvj/AYcEoc0G VuYzCwh9OiHXQge7QWseCuLMrrqSfbZljSMYLxdaKERzZ3iq9XrYoXO+pyI7RBW3EqIo DR3g== X-Gm-Message-State: AOAM5316+i5RgMry4yJ0m8W28QdfYyEnKKyeNZUk7bVVSZN6Ucp2GW8V C4LI8eG9LERhUMka9+6sYLw= X-Received: by 2002:a19:4c84:: with SMTP id z126mr13679677lfa.69.1608198289522; Thu, 17 Dec 2020 01:44:49 -0800 (PST) Received: from localhost.localdomain (109-252-192-57.dynamic.spd-mgts.ru. [109.252.192.57]) by smtp.gmail.com with ESMTPSA id u19sm613917lji.2.2020.12.17.01.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 01:44:49 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Peter Chen , Greg Kroah-Hartman , Alan Stern , Felipe Balbi , Matt Merhar , Nicolas Chauvet , Peter Geis , Ion Agorria Cc: linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] usb: chipidea: tegra: Remove MODULE_ALIAS Date: Thu, 17 Dec 2020 12:40:02 +0300 Message-Id: <20201217094007.19336-4-digetx@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201217094007.19336-1-digetx@gmail.com> References: <20201217094007.19336-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OF core adds an alias based on the OF device ID table, which is enough to have the driver autoloaded. The legacy MODULE_ALIAS macro was relevant to a pre-OF board files which manually created platform devices, this is irrelevant to the modern ARM kernels since devices are created by the OF core. Remove the unnecessary macro in order to keep the driver's code cleaner. Tested-by: Matt Merhar Tested-by: Nicolas Chauvet Tested-by: Peter Geis Tested-by: Ion Agorria Acked-by: Thierry Reding Signed-off-by: Dmitry Osipenko --- drivers/usb/chipidea/ci_hdrc_tegra.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/ci_hdrc_tegra.c index 7455df0ede49..10eaaba2a3f0 100644 --- a/drivers/usb/chipidea/ci_hdrc_tegra.c +++ b/drivers/usb/chipidea/ci_hdrc_tegra.c @@ -128,5 +128,4 @@ module_platform_driver(tegra_udc_driver); MODULE_DESCRIPTION("NVIDIA Tegra USB device mode driver"); MODULE_AUTHOR("Thierry Reding "); -MODULE_ALIAS("platform:tegra-udc"); MODULE_LICENSE("GPL v2"); -- 2.29.2