Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp990421lqp; Sun, 14 Apr 2024 08:49:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUG3RQgWu6tGjCtCVIhhVgJ7uSnp+7dyeFDsdKBnVPVNmtO4iSlIYPnZfunBMdkw22Wn0z3ajOPicYYk+NY85u7ZTa/W0oqCjwxP1kWA== X-Google-Smtp-Source: AGHT+IHRJDUVrD1EwCoGccYriEGP/vk3f/jW7zuU2V21OhaXNGhNiEeGl7vILaqWPZ6Pdrf3jRxB X-Received: by 2002:ac8:57d5:0:b0:436:9467:975e with SMTP id w21-20020ac857d5000000b004369467975emr7400323qta.19.1713109783615; Sun, 14 Apr 2024 08:49:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713109783; cv=pass; d=google.com; s=arc-20160816; b=ML0uInUOc2xkc4YRD+6Z1RB7bQC6ZfFRmfhfSpG7PfxLNpnxwT6wRWtjxXQWJdy9si h2mu+UBy75pcITg/iUMCrB5m4iW2npMqfkhreNT34I/UkC8PXwkQ4srJw34wEKqTRi6s LUOlTcT8G7I8ZXLzP11Qj5vsenUvxgkFlpU13EVCGrFCEtzC8sBT1hmLjO8CGkHWDRXX Y1Gkt21n2Sh2wwbqq5dhwI/R/Ni1t1AtEVjXMW3gky7lZ9bHebU/UmD/ss+FFYlzKyfH fSe7ticTGI8dnmiHdB3tCfE5Q0Vf1aEzgnLFfzNhK3Wdi7jUMD8XyxaHllSpTwNgBOgk HWLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=KV8W+Nk8mqHod37yy6afdWaelKxKxBUE/OpB9KK3GAI=; fh=7AHPgFV6ZojurwErUAXcMjzdg9Mvbm60TUgB3lP7op8=; b=ldTD0T+8EBk5hMNFHFsaNOPl9s9W2ToE2i99L+/LYyMnXhk9NyceKg1zS3Rs2bMiDB gfT7kIebKAiSSfG7WX1zROyiZbFkrBBiY0YFpd8cgqYcdhZfDYwoN40P+1Ja/V3oiMEN JjB9u0TYDTclfC9RaYH2vbojxze4Vgl+TAHjFYNL6fjy6vX3xn7e6bFA9VkaDQcXzAIg pntYQz8O+Fjds7aSvp018vfa/FgiymgjHTGDXipoxrbS21AvKuwmGYgxR4+7fQP68eZe SvgOXr39KihdEmkn4ZMKosPFjyL/S2hq3DuRxBGyAm6yZ4Ls7BrgXFUS55tEaOQgt6jl pXwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dm00pbtN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144247-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w14-20020ac87e8e000000b004366655e61csi8171637qtj.463.2024.04.14.08.49.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 08:49:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dm00pbtN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144247-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5913E1C20EBB for ; Sun, 14 Apr 2024 15:49:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FAB4134CC6; Sun, 14 Apr 2024 15:49:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dm00pbtN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EDA91946B; Sun, 14 Apr 2024 15:49:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713109777; cv=none; b=NaVAf99s8AEjCIeBz5pvB+VutF8ga03LapaOuAU56Pxusd+JxzxaCJ6qMTApjWiCoidqi9vKp0KanNXvoT3sX0ZZ2fslnRfm5sccB6cwZk5EC7YJ2JhIgr90jIN0G5TzSZ4CEpCqjO9or6gB21vqH6aogtJiiYxju2+fQj5sqaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713109777; c=relaxed/simple; bh=vCsq4zNZCgl5SrWAOnz2TdTN3i0qeRkTl74j/gYlBr8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=izDx9RUBBWUCgdPEsh9hNT+ZtIVNSu8IZDcZ5IG3Lal0gdwomzwFq5S1gsjH8C68rA0CAtWocv+xfsHJwRusLrdd2sin2p+UjzjiiQYigCsNtcM7p2+MG+pSPe7Hcik0jNfPNSLbi6Ws7duLRHuUiMSQjNaPNxlKvxZy/uYdyLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dm00pbtN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F668C072AA; Sun, 14 Apr 2024 15:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713109776; bh=vCsq4zNZCgl5SrWAOnz2TdTN3i0qeRkTl74j/gYlBr8=; h=From:To:Cc:Subject:Date:From; b=dm00pbtNpET02QCofKXVDNb1EjWeep/pPqBUE3vEv0OZJr9KnNGIkKVIsB6K6kuCa /m2NmI0TsNeRsl/6OubN5LWhX5wBuLD3EQ3C+oYEzA8HukYrpShmQq5Azg8Jj7wf64 m8Knk4USoLXGz0zrnRENM/JB9gOATzoP6U04p1yLdslt4zk/ZMnNAFxQg4uJN2YtPf GJpV6x6je8E7/5OpvenkINRqMCc5Qj/4qho0hsELYsBDdq6XyVBUqixem0DfmPXqOQ WVDK5KkExzCFgstS8kNzDZPqwN6TRn/NodDFFk7MURWkDSqWX/KGl/C70og9mwwd+j Cmy14+wymRdXA== From: Krzysztof Kozlowski To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH net-next] net: dsa: microchip: drop unneeded MODULE_ALIAS Date: Sun, 14 Apr 2024 17:49:29 +0200 Message-Id: <20240414154929.127045-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ID table already has respective entry and MODULE_DEVICE_TABLE and creates proper alias for SPI driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski --- drivers/net/dsa/microchip/ksz_spi.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/dsa/microchip/ksz_spi.c b/drivers/net/dsa/microchip/ksz_spi.c index c8166fb440ab..cdc4add5f5b5 100644 --- a/drivers/net/dsa/microchip/ksz_spi.c +++ b/drivers/net/dsa/microchip/ksz_spi.c @@ -233,13 +233,6 @@ static struct spi_driver ksz_spi_driver = { module_spi_driver(ksz_spi_driver); -MODULE_ALIAS("spi:ksz9477"); -MODULE_ALIAS("spi:ksz9896"); -MODULE_ALIAS("spi:ksz9897"); -MODULE_ALIAS("spi:ksz9893"); -MODULE_ALIAS("spi:ksz9563"); -MODULE_ALIAS("spi:ksz8563"); -MODULE_ALIAS("spi:ksz9567"); MODULE_ALIAS("spi:lan937x"); MODULE_AUTHOR("Tristram Ha "); MODULE_DESCRIPTION("Microchip ksz Series Switch SPI Driver"); -- 2.34.1