Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp990596lqp; Sun, 14 Apr 2024 08:50:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULa/XqCm/JeBuj4+eUGHrmJnBSpY+daxZbLVBgvPJuOn64NxxEx+o6ds3w9VVJiJqN3r9F7vGeJ+HwNb+KpRCui65BRkq2BV2USKB7vA== X-Google-Smtp-Source: AGHT+IGz6fThpuQnvBG+IhlXsorZ+HYTNY5kMoK6NZB5MXi/hxQe3cpEl7onvpI8tJchiEJ/4euM X-Received: by 2002:a05:6512:1242:b0:518:b133:7e2b with SMTP id fb2-20020a056512124200b00518b1337e2bmr3243279lfb.64.1713109821159; Sun, 14 Apr 2024 08:50:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713109821; cv=pass; d=google.com; s=arc-20160816; b=XH3BgZu1pV+DllBQ0ZnoSRDYrmqzlSapVDGi1cpM7l1gytayjnLrnFhfYMwdlMg5TY 8nJ/ME1jREgNS/m6fFTsOe7ohWKXUnRj4F8l5bjzLcINR2z9pUXcKTcTgpc2fEsXIOSz Kml5Di+qbW5sPaEaVw4uJzjneyF7ZE6E+Z1gEqTG3n+98+WJUgcy6AclFdH3pFpWwuXJ ZST/ggZOHRvhKYg+NzrS93V+jAM2UQlNaPzShb3Vzlv1VIMBrc5ZHTWCNOfy0EsCrciP a2wDJZ0pav0/jgUbykoKGvq3+YaOWTnT0paOoDhOoalhRMkLegxw6UEhQ1rRSRgtZSzL zJSw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mFJJ/iwIk8PL2jv1NAda5wizrv1yY6dJGai+ktF9GUE=; fh=URh0vfmUEJCWrv2GemD5jD36ZOSyhlKkyGZ512hqjxU=; b=qUra7eEUxea66QKpGuvt4AMmRq2O18ZkqOptt661LL5hJh5qZ1JErhjZlp56gZabyO QIGJwDTxoHs1nRk4n4mH43u4wzJwhj9WudQmG9sSRG0KSJIxr/1opPuStWDimAhXn1/P P9ZWITgW06WkID6asrhmNkl62rsIWVBA0xacd3Ehxi7vbAZ+228JT9vG/wODYn2iW2F5 1nlezFoPr4BVknDdLhdcLJHeIOwuQor1kWdCzykCGB4emh6dupMGW73QME/JJXDDK6Jx +ANDxTAIp3dzoR0YTpp+Khn4nUp1XoGamdxr6h1mlatmdfZhG39RWvEOCRWw69AmVl90 50ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oqP0/h7e"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qa34-20020a17090786a200b00a52538fe207si1363640ejc.921.2024.04.14.08.50.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 08:50:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oqP0/h7e"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144250-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B10721F21831 for ; Sun, 14 Apr 2024 15:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99249134720; Sun, 14 Apr 2024 15:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oqP0/h7e" 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 BE0551350DB for ; Sun, 14 Apr 2024 15:50:07 +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=1713109807; cv=none; b=oxmWwGeQwHLIs3cNVAGx/ywGG2FEG/d07r9jN+P6U/Z3JOg26AuI18xp7THLGtF2jtG87/ScDGAZuP0UI0ZWFkMTab5dQLxGWgrnBh+fhd0ni92KSl2B8NQ1JjLrwPXfPh9cI32wiFfOguphEXxp0CzJ9W6ElGtlmWozZZNgLQw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713109807; c=relaxed/simple; bh=F/dkFtRddbz2rD/46WKCGJKyqSMQqrDqq6p70dPALoU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mc4wHcP+aoziHFVPofeYUmzKGzvP5QMwgUsnwH13PBhAc7KPqirMlrs4I0ZpgYUadolnrukPKIwpxcuuytyeltOGOYkrP8ydqiarFOXZeYNNHi0Pf/fB0qciBEE9KDLjx23MeYGzsdR9HYAziOoV/mVukU4JTJ6s72NCAwVbbIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oqP0/h7e; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA2BBC32781; Sun, 14 Apr 2024 15:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713109807; bh=F/dkFtRddbz2rD/46WKCGJKyqSMQqrDqq6p70dPALoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oqP0/h7eEJrEgYeb8NzQBvwLwECJ7r0h/HXjOtMfK1LzqGbjm4ofY4LCtkKOFFA66 5EnLYrlgyJd4hdhMB3ecGGJ06ij5Pdo+WbVIAZ2WHVSggRvGwEhmyrELoVO+eVfDtz RUmuMaDk09pemnJOdeSbvR05o8ehVIcZKIXNquoU7pgLiYdARra5YF9umqzKjzZsPr 0/qfwZD6WlwiHsqyjPO0JWrcRHOCOL4Cm8bl/fRqXV+PesJP3kHWTuyDu2qKdGwYej ZXQguBJkXdj4WSZq9EU6yWEown5ZBcO2gUEKPTgSZDvgxo/HgMJs6tdsP9OE4Cuzc6 1gKaOIKxx3U3w== From: Krzysztof Kozlowski To: Arnd Bergmann , Greg Kroah-Hartman , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH] mtd: mchp23k256: drop unneeded MODULE_ALIAS Date: Sun, 14 Apr 2024 17:49:56 +0200 Message-Id: <20240414154957.127113-2-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240414154957.127113-1-krzk@kernel.org> References: <20240414154957.127113-1-krzk@kernel.org> 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/mtd/devices/mchp23k256.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c index d533475fda15..cef5f9677d39 100644 --- a/drivers/mtd/devices/mchp23k256.c +++ b/drivers/mtd/devices/mchp23k256.c @@ -257,4 +257,3 @@ module_spi_driver(mchp23k256_driver); MODULE_DESCRIPTION("MTD SPI driver for MCHP23K256 RAM chips"); MODULE_AUTHOR("Andrew Lunn "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("spi:mchp23k256"); -- 2.34.1