Message ID | 6c8fcc4ed159992a1dbb0796087e6ceb10c39c96.1718791090.git.u.kleine-koenig@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88CDBC2BA1A for <linux-arm-kernel@archiver.kernel.org>; Wed, 19 Jun 2024 10:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Qi4aJYEUuIQ/V13fBIYhBcSSVZbkz2WHC3xkADAjAwY=; b=ADiUAfceghgMmzTp5ACFJwb3Mh Lj+E07WhreC9pjsFzHErVxz2WZDZalFQ2Z3nA1sLzxaLGJ5wFBUN6SFmWrVMpEDnHITMDq3XeM3E/ LCIl8QQ4VrPfwToG5MsZbG1jym+Hfvn8I6fgpoJ9oi3VoN56JundSxa8D2xTTiNBLgO8U165RSY6n KV1IvmgWTtuA6tRbJrpBTwl3mah5oS0bSN/4rEU9vfZIIvVtIv1xweGYPLfHUCvDdpRQZM/iiTxHE 8h3Z4Ffy9PwcXQnc+5hiW231AJhzsTICBq6RSPOcbLmmgWeUsSEn1Ii9Admx6fGMvp15Q0ewveKkJ VVbhsmbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJsJ6-00000000jfR-0wpm; Wed, 19 Jun 2024 10:12:48 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJsIZ-00000000jSo-0CVm for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 10:12:30 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a63359aaacaso1012410366b.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 19 Jun 2024 03:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1718791933; x=1719396733; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qi4aJYEUuIQ/V13fBIYhBcSSVZbkz2WHC3xkADAjAwY=; b=Y8Ge6iU0OHMZJhyb77ejtrweRQExItmMu39TYYmjrQm+7ifveDdMJ+fGy3+d/jqK8V de5aDpEzzvj0phn4cVZah07ORW1+IWrh5+B1dT4iOyt9j1UJAjPJJE5gMP5xqfp39pP4 PH/e0ybFstUEfef3ebywfOa6ztZ675PtXah86RQrxicdxq4qdGeB0A4Xy7hOblWkrno8 UeeA35EAj3DhciQxzy11HgbhoV0VvnFC8T0+QN3u5OuqCSh3GNxI+VDFUD9Sjd+LXH1l ZGqbMTW44V7P2QG4DfK+Eq8LStLOYwOexpQv7ZKDc88o0h8cuTT0pkxunzK24x+LNk2e YVHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718791933; x=1719396733; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qi4aJYEUuIQ/V13fBIYhBcSSVZbkz2WHC3xkADAjAwY=; b=T7MhJiFDjGWWWHfIT7YUglZQGVvZ8uiXofHuLxzbM8y2ZN1R0PusTquo+4sIWw3Qjd hwYDV6lZ++99zgtoCBXx70JUno0z57bjo6LHJfBt9IBmtibpyA3S3AXjzslY+4aAkyZl UNP55aLSmu6iAXqvYLm0qQr/RSblmtvn4G0CkLtHRYo8I4SUPI16Ivld8KZHmCzu6FGK pivlXR2DtkgAzPZWoxhOgetK2FvFluwTTPqobaSUVmkhdZ2ITG1kCfC4tz/XDjNtbnUL SEPZfSboZ+qKn9q90kaaznWVKWo27LjLD+GHP5GV3Uni+8uGT7QKzOMR3zCE0DkPEKh4 BnmA== X-Forwarded-Encrypted: i=1; AJvYcCXcf1ZjHaiOspskvx0SvKMYNtteKDtfFqYRD4zgH18892ufJHinRRUWy1koG9Ff6UPrI0xMMTfGdjjxn+V4JYZqWtKg+2s+nqBIl8xT4XxIJQ3Ul3s= X-Gm-Message-State: AOJu0YzcmfyDo6UFGShl2LqUZ6M0nqNEN+ANZba3u9dni19J7KgzqmaE 5oXMp3etkoEBKSD1d2iCBB7HxahG7zd9Ni6dDdBuz+inmixgRiibFJDgSoHhOzo= X-Google-Smtp-Source: AGHT+IEvkBeb1adtQps5uR2c9XR/Xi41EP+Gxj4qPXO+OoA/UyIlWg8yqWZ8kfEL9FPggix9HVnzKw== X-Received: by 2002:a17:907:1682:b0:a6f:98b6:36e with SMTP id a640c23a62f3a-a6fab605048mr169655966b.11.1718791933291; Wed, 19 Jun 2024 03:12:13 -0700 (PDT) Received: from localhost (p509153eb.dip0.t-ipconnect.de. [80.145.83.235]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-363a23143dfsm1168204f8f.87.2024.06.19.03.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 03:12:13 -0700 (PDT) From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@baylibre.com> To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>, William Breathitt Gray <wbg@kernel.org>, Lee Jones <lee@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: linux-pwm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thorsten Scherer <T.Scherer@eckelmann.de> Subject: [PATCH v2 4/5] mfd: stm32-timers: Drop unused TIM_DIER_CC_IE Date: Wed, 19 Jun 2024 12:11:45 +0200 Message-ID: <6c8fcc4ed159992a1dbb0796087e6ceb10c39c96.1718791090.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <cover.1718791090.git.u.kleine-koenig@baylibre.com> References: <cover.1718791090.git.u.kleine-koenig@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1147; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=zia9ohJCDf6pPTMCj3l2MlOJgs40Pm2zXv4CKnsKZ4Y=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmcq7oy8mveEdP8uq3o2jBR0yAiv7fDFKSJltQ4 YkOueb1NN2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZnKu6AAKCRCPgPtYfRL+ TrX5B/0USVLFzo4MlcaT5z91XGN6knZpVjFtzoHUM0al+H/HJnjOPt2QItflEUYgFAJQzvuiGBb AZhX+KiO1s5etz6fLwixuy9K3rJ1JXcuBQ5FRDBf3PsZHXNKY3Htb4q3VYI34xmH8S8gLwCMk27 DoObyZ4OWbW++D14JjTSStR8wGDREHItW8erobR0HABTTDcP9K8n+HqNXDPyvgReo1fB+VlDwr/ IBtUTkomTjRAmLKMk0kQz6IzO6UmIpQC3VRx/R4fVBWGsq+gypGxPqP8kyoDhONcuf/bPJTt6C7 0rKidDi+2qnuyqmHz9QOjbqCFPs74jFe1MNyOrRuKdTNk/s8 X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_031227_856149_30B278EA X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
mfd: stm32-timers: Make register definition more flexible
|
expand
|
diff --git a/include/linux/mfd/stm32-timers.h b/include/linux/mfd/stm32-timers.h index 92b45a559656..f09ba598c97a 100644 --- a/include/linux/mfd/stm32-timers.h +++ b/include/linux/mfd/stm32-timers.h @@ -47,7 +47,6 @@ #define TIM_DIER_CC2IE TIM_DIER_CCxIE(2) /* CC2 Interrupt Enable */ #define TIM_DIER_CC3IE TIM_DIER_CCxIE(3) /* CC3 Interrupt Enable */ #define TIM_DIER_CC4IE TIM_DIER_CCxIE(4) /* CC4 Interrupt Enable */ -#define TIM_DIER_CC_IE(x) BIT((x) + 1) /* CC1, CC2, CC3, CC4 interrupt enable */ #define TIM_DIER_UDE BIT(8) /* Update DMA request Enable */ #define TIM_DIER_CCxDE(x) BIT(9 + ((x) - 1)) /* CCx DMA request Enable (x ∈ {1, .. 4}) */ #define TIM_DIER_CC1DE TIM_DIER_CCxDE(1) /* CC1 DMA request Enable */
This macro is misleading as TIM_DIER_CC_IE(1) == TIM_DIER_CC2IE . The only user was updated to use TIM_DIER_CCxIE() instead which doesn't suffer from this mismatch, so TIM_DIER_CC_IE can be dropped. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> --- include/linux/mfd/stm32-timers.h | 1 - 1 file changed, 1 deletion(-)