Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp990352lqp; Sun, 14 Apr 2024 08:49:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAXm0biLL8UCTEUkb4jUyPHxGW3BgamHFgaE2wOKikc+SKrdhzQtUV3s60m8j7qiKLVCkZX3X4WfC40yR12h8C/1UaQs2WjvHQIepbXw== X-Google-Smtp-Source: AGHT+IFQabQV5HT1xB1B2UsgBMwxiNIIQF0aoduXtMkL3+vU52ciog9+d4nbLFgb/vb2h1a8tCYX X-Received: by 2002:a05:6358:6797:b0:186:1152:d743 with SMTP id y23-20020a056358679700b001861152d743mr8491888rwh.15.1713109769463; Sun, 14 Apr 2024 08:49:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713109769; cv=pass; d=google.com; s=arc-20160816; b=yKvMh+/MNy/6bb/73UcONjPoQ7oP9IN7vYEV9laG0lDg1/UicDPYqwb9Npc0J/vvwY 7ZLGl+7O2Gxm4hn2ae+Z9Eq5+/7HK/RJtjLqfFcVTTUzT+6sDSi5jnLBLRE4A7pMgjjV elfS00THWXoab9F62uN9ea4ye9bGGkerNcmJeWGcUlqV/BLfCzNdBUcFim4P6YJcVktr rZFbagtlAN1OnQFBBz+aGYTWjbnwNXPrz1LT5Fb369Qkdcy+nftn0aSLk9ePRRFO5yYK H5MPkEvKHlQE0b3QqsUxOs5Q8e+JPWCbcuJsjTABK2PlBTvxgrCNXzKlaCAIMYTBULtZ KCVA== 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=CVVukChIqQQX87RSyOtPbGynzxOibB2t8ZaaKeBNCks=; fh=pQUaeFiDlHDnP1zSLCvQujafXzeZy0Vkb0nLoVo1dM4=; b=vVBJDvx5ZzPMbhP+v5SsKBeAgLeeW3k/+d4xeX3qcZbM0rJxhtzExtS3Lta4tyRPdc zmVvYsmp4zRiEX1ogyw6b5JXE8A9WmZWUR0dYpeN9kLZuvxt7ddk8BvzsddRUdLcLUIK QSqAobxEcFGL1ekxWrzuCAcwh9+BnKF/1Dc+1o0h/cNyuXOYbWH0bFqMEYJ7mwxjcCZR hZhYEAM6etg0jYtVeYzCIfmcLUHH4kZc6dA4InA2mOkVYqs1JTQf6QL2vG5UYW0OJ6x6 gFA93Th65EfGSuMSM7Kws3wlXYciR2aHB4CIKwjvUE/fIeJ+v6KZ9ju/Uquk+EAdybeJ hJWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lZPjXU7W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144246-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 7-20020a631147000000b005e2c2fc5125si6276142pgr.249.2024.04.14.08.49.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 08:49:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144246-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lZPjXU7W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144246-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144246-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1CFDE281DF5 for ; Sun, 14 Apr 2024 15:49:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90D5E1350D1; Sun, 14 Apr 2024 15:49:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lZPjXU7W" 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 B7F95134CC7; Sun, 14 Apr 2024 15:49:15 +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=1713109755; cv=none; b=O1b5Uf+1BV2K2sMGs7Cx4E4XqC7/joMeATmsgf6WbkZR6bTz/guQECRaZxM6QHJd0SpurSGXmDESO1P9pzXOLM+kpD0n3FniYPQ0vqWzNAA+T3owsrd/TWPKSPLLKFgwQRzZPm4VR6KeUqwLV2TDg4eTZVkjjirHnCCsMwzrq30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713109755; c=relaxed/simple; bh=34SiSDZmYoSCnzn+MGvb0W5lkGNJkoDDUf/EzBsQsCs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=O6TDhrxRs4573DLW6KxhdNQEgYjCRvnzAEHKbsTUSO9VnYCcWNW0uIk0r5nNE0R7VAw5fytivn+U7w+pnRvX9iSBBvgRkqxzCijtQFxO7uNDsJ9X2HsZ0hjAfYrPz8ksMtZEG8KVSvTdklh07bM07c/e3E2o+2fIP2A3Rnpzwq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lZPjXU7W; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6AC0C072AA; Sun, 14 Apr 2024 15:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713109755; bh=34SiSDZmYoSCnzn+MGvb0W5lkGNJkoDDUf/EzBsQsCs=; h=From:To:Cc:Subject:Date:From; b=lZPjXU7W7oxvFN9ssZdptZzsSWQUud/aNLnYdiGz+WlmGvan+TvLFBQcM/6n0DMC8 dNzr3+UJ1xyvMjbu5ATYjt1OcRF94lc2TDvw0of88Z34kAOl2oeu5Qqn4K5JhhASly aYz9G/611jpUOj+99PgsgeMMRb4qSPFIwWoqcZaUNjdoOsitc0k/msJ2f4uNMIE6eb vht7Zmp4BxXajqewvBEw85/WbLhSIAx/Eg+4MY0NgD/181rFfs+G0WcxkkZs9miGDN 6daIOlRXiqzODOKe7FiLiuZwUlgcd1Ez53tKxbWKxYeTY64sNaxxsbPrn9w0KI3ODn KHjV7KokLTJ3w== From: Krzysztof Kozlowski To: Alexandre Belloni , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] rtc: mcp795: drop unneeded MODULE_ALIAS Date: Sun, 14 Apr 2024 17:49:10 +0200 Message-Id: <20240414154910.126991-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/rtc/rtc-mcp795.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index 0d515b3df571..e12f0f806ec4 100644 --- a/drivers/rtc/rtc-mcp795.c +++ b/drivers/rtc/rtc-mcp795.c @@ -450,4 +450,3 @@ module_spi_driver(mcp795_driver); MODULE_DESCRIPTION("MCP795 RTC SPI Driver"); MODULE_AUTHOR("Josef Gajdusek "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("spi:mcp795"); -- 2.34.1