Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp990301lqp; Sun, 14 Apr 2024 08:49:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIHow7nsChLn3JaxgGC2srz/QibdWuWXMMBvw+ZlTy4zM1QxpK9Hp0IO0P0Xv27vZTFnmK+Q9md1IRALZyvLUgV0Yy+B+EaMx17H+Q9w== X-Google-Smtp-Source: AGHT+IGbO1RZAsBFOHjpAZuejzZ20es2PxgAjOF5s1HqKHQG+Pqq4herAOL3ILTU/Xvuj6OzpnY+ X-Received: by 2002:a17:902:e84e:b0:1e3:cf18:7464 with SMTP id t14-20020a170902e84e00b001e3cf187464mr9761455plg.3.1713109758059; Sun, 14 Apr 2024 08:49:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713109758; cv=pass; d=google.com; s=arc-20160816; b=Lt6rVfE0RJ7GUKA1RVsgxWTFNwrWvVG4YRuRRztg3PflLV7QP0sVawUd+3nUXBPdiM Rb3E1l1wsYmmEO6fOemNWM+zKhYuYMxBTJnfiIUhs4E1Gp5gIj8CnN5zL9uJ50P4ZpKm vzHg2xOBfmTU87EYnQTJUTMFBKsire07VIY8PStwrKJ88qUp0dymbtsXO1BynTS1t2Nb TcX2sA9pi3BIG1J2webo0/oP5KOLrvnlpN1CD0em9CVv65nqkfFVvpAEUNlyoW29aWHp 9m+yxgYMxm9IOx+SZiHL4ba4TFWV9+csC4+ZihrBBt3WqyZvSie3axat67Uq7Fet4Uj+ S4iw== 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=LOgDzbTZuyDxYCwvQVpnhvwA3QIGItyd8EwVJH77NsQ=; fh=oNBogbPIl5CsnJFRNJLAhM37LRQsretRZljTurSbyP4=; b=lIMEJFIiTK/GMdFGT2Re/OJX/WIpnr4M2SDfKHsgt7yU8i7zAilL9yN8ECr3hJaRFh edBmBTXz0SdLKNSEqYF/kXkiUgRTcCBRe8ZKIRSwXt0ffZs+UAHoya40DoxF0P7WgQl7 fY5mAb8irpmx9ba2/74WRbXXQ5MRLd2dZNGm0pPg5YvNHjMJmVWCfyoRrwL3KQTHMG7I vfvqUYqDrYx17N/DGwWWy/sHAjROupKkSFNNm6u94s3k/YiCQdFnVhBcA2eDZTRP8/mm kQf0NuBzoB1JXtWu5XSISVrIljgnRJncxy+vEifyhzeOQ8DkOZ2O9ImEFOmInp2jxkAM +7pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CFG0ttIO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144245-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144245-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 q9-20020a17090311c900b001e5d136eac0si3698999plh.90.2024.04.14.08.49.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 08:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144245-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=CFG0ttIO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144245-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144245-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 BFBAE281E19 for ; Sun, 14 Apr 2024 15:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF82E134CE8; Sun, 14 Apr 2024 15:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CFG0ttIO" 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 0021A134CCA; Sun, 14 Apr 2024 15:49:04 +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=1713109745; cv=none; b=fd6q38kz5DgJeVQAyHzB1kCy7tiU+i1iQfnP4vfn23la7fVGb5gwKCDnAFhqQHV6BiYE4eAqrxRbiy9RVTDe6U9BgyfqmNpdu8oRH5Wic08UEDLPJ5LAiClI5kfH/IzAnPFexDaJbuhSHWnyXEvGYl702YO5udYDZC3ojGpthJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713109745; c=relaxed/simple; bh=kv6cGnOQf3eKFvWuVElyxmAUi393yBmpD5WPaWGl3O4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=KBj4JokGhOI50Dh0oEgYLhXS+FWtTWyV6AIm1tFnZOkllJ06dLDOHWvs0rV8u8DjKmv3I7KHctmhJmjoaw5WLrBbFNNapCF+oZc6ugK6OkatJp5RHppdIsIFocuP7UVk08N7GMsYSzDzAKPPLNvAI3Mpxx0HTT7+OXIhLa20A9M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CFG0ttIO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 116F3C072AA; Sun, 14 Apr 2024 15:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713109744; bh=kv6cGnOQf3eKFvWuVElyxmAUi393yBmpD5WPaWGl3O4=; h=From:To:Cc:Subject:Date:From; b=CFG0ttIOsvNmq2xzq3nEQTuqxjn1OcIzkHu1WalScGczj5/mec2RXyugl1+VG9bdR ewJOs7aKIkWwxZ7aSvOKbRuV0bJGz9MiGiXO0Jbfb/neeaWY99/t37y43TfvlNtmw8 ew8b1AbHJ/s/mX0goxTeSRLrQ3MHKeiPpJjsNKmNwGH0n+qDonzdEjQ37NWPjc/ENi cSM5JT4Asi6m1n/ul20OHcbRw7quRyeT3pkQxjmxCXGuvG6BNcniB9IDJRjuixnaiB tD8WSRF3tdyFby9fNvnvoLerbPftao3/xHM85Zrv7JFWTYgdfxjir9EyXVdcjUsayT gVyyEUIlH4vZw== From: Krzysztof Kozlowski To: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] spi: altera: Drop unneeded MODULE_ALIAS Date: Sun, 14 Apr 2024 17:48:59 +0200 Message-Id: <20240414154859.126931-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 platform driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-altera-platform.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-altera-platform.c b/drivers/spi/spi-altera-platform.c index 72e7a0f21793..585393802e9f 100644 --- a/drivers/spi/spi-altera-platform.c +++ b/drivers/spi/spi-altera-platform.c @@ -169,4 +169,3 @@ module_platform_driver(altera_spi_driver); MODULE_DESCRIPTION("Altera SPI driver"); MODULE_AUTHOR("Thomas Chou "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:" DRV_NAME); -- 2.34.1