From patchwork Tue Feb 27 17:37:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 207352 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2855023dyb; Tue, 27 Feb 2024 09:40:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWWx1B97pOA7fVG7Ik+oaDAScWLAJY6wDE39f+jcyGGSAvS5nVm3LIYTWaJtC1+shDjo5xXXi+Ki838aP+Ab+aQRpjkJA== X-Google-Smtp-Source: AGHT+IFaiYRRWt+iMecbVvK44RdbZML2j1Jcz7StTUy5FkQjDX9e8kCaPNBDo5ta5zoFg7GEsuL2 X-Received: by 2002:a05:6a20:8f99:b0:1a0:61e4:a940 with SMTP id k25-20020a056a208f9900b001a061e4a940mr1971715pzj.45.1709055614824; Tue, 27 Feb 2024 09:40:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709055614; cv=pass; d=google.com; s=arc-20160816; b=HKw8xA2PonmOdlsKa/axhyHE+KPlCo6sYWTy/EnQQRZ/SgF4wUVLIniE1Qf4zKSRK8 LaCSIsvv6A0gblL5uZmUX/aHRfmO357RMc7p43bOfAJ8bLtHg+yV3FYxTYcj7/PMF2Ve 9ep2u+7NwYfoWl88TtDOBtuoptDtEVj5OdXYg5uYuqW+QSdORKygU1TBam6Prdk8KsU4 y69Th8dWJG5euIws4M2Me6wxGD7x72C0E1/U5r7fZf8oIww3PV0py592XGJTKMROnRIt 2nAouvxOM+rcv96cxTaObRl/JJjX3+ig2di3gRiRGZwLIi2uPHRSP5uOtP530nhEy3Rl A/vw== 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=KVmmLD7PqCyPnZ/PZVStmvG794iivG5lxhLDKuQv7fY=; fh=ozwKRq0p8tj2zy4oAJzh3eawPsCHg5fP2FoTNn7f1y4=; b=p9gc5t6rbXCAnHIvo8LoEyDvMqG7Gh7V7JQDbD8XmebPXtjqzhUidIqRMWp87uK2O5 bjDZndWx04D4AG6k6XkrmCtP2Dvx/vOa7V3bx7QcaNlbaGsPt1folcWoHu+ifwzUc8xI jnLOI8ISIDORcXkheN+IIrs8ufaXWf8X4mOvFUeSI+FvCgsE3RquRMUcyb3RDRPoe4G5 /pj7q/2tyUtXvRmLq5ShDypRhhmF03uwsdfntglkClPJJIuplBeKugGEvQdJiBUSeLnH 4sdoeP+u0HyhB80dlt/a4CgyJjSobPvKVruS9T4Ui2lPg/OxYzRCRTT2tf0nYj6M+wfS s8Jg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=FeXVongi; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-83744-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83744-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v4-20020a632f04000000b005c279da45f1si5752037pgv.566.2024.02.27.09.40.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:40:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83744-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=FeXVongi; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-83744-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83744-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 0B118281DF9 for ; Tue, 27 Feb 2024 17:39:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF6251482E2; Tue, 27 Feb 2024 17:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="FeXVongi" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 628B54EB4E; Tue, 27 Feb 2024 17:39:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709055559; cv=none; b=NebuMyaQhuUJIqUUXxqaZSVWp3dKifZeD9+ChibmkyA3wv1ZHI7TtmGG+41z7N7xFlI2W1C7wJxAE+n+7U/w6OTdZJefsDCk5xM2yRsEaeCKmStcolHa3+DDhAr0MooaaluTFEYtGitlKYuEf5irZJhZKG5MV1TpT11eU9wdkCw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709055559; c=relaxed/simple; bh=aUwIXIB6ikWepNt71w+3eWpZLF7KACsXFdv8w1LK8cA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JzqOv6WD2P58gIIXXiAE9hDBTEsgSZuScXFByvSoEPPA6SNLgTMK8Yo8fe/AZg6gMUbFxrrA+st7R06eBd7CF+l9OHc3gBSwhDauBgNfcnMw8zBf5No06Yz3TDEcyQv8DS41Q3sZdJJsc2G5d1gp/ytROll+jMeP7167pK619Y8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=FeXVongi; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41RBi2YV006717; Tue, 27 Feb 2024 18:39:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=KVmmLD7PqCyPnZ/PZVStmvG794iivG5lxhLDKuQv7fY=; b=Fe XVongigRGirHWyC2nHFSxyp4XqqxWcS2NJz1A+6ValJD2YK7QmHjukow1hHSmJLa o8QcUmmBSzNVy26mD4tKpGitdYvHD0Tnkv4tp98w/RsbBwNPjny8vPAhNnVYSR69 qnE015eWsg7ONRG2taH96kGJELQ6A1LwFAG6HUpLkgVhLFCr7h+Q5OGXcX2/T9Vg DAEFl/+1yQ/7rNzmfog3ZfiR3gKJrg7aArW82UFrecNVt01BaJVq6KfarClTgD1I w/crG59UtLAh0QzZEGzISy0AwuHEjmEwmCly3N9p1d19x/Qu/F+dZlmDdQGMsN8G PYxjX0xjMBB+741VIRzw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3whf4b9dj6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Feb 2024 18:39:03 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 6BC204002D; Tue, 27 Feb 2024 18:38:43 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 140312AD12E; Tue, 27 Feb 2024 18:38:18 +0100 (CET) Received: from localhost (10.252.26.109) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 27 Feb 2024 18:38:17 +0100 From: Fabrice Gasnier To: CC: , , , , , , Subject: [PATCH v4 03/11] counter: stm32-timer-cnt: rename counter Date: Tue, 27 Feb 2024 18:37:55 +0100 Message-ID: <20240227173803.53906-4-fabrice.gasnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-27_05,2024-02-27_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792074700079679933 X-GMAIL-MSGID: 1792074700079679933 The STM32 timer may count on various sources or channels. The counter isn't specifically counting on channe1 1. So rename it to avoid a confusion. Reviewed-by: William Breathitt Gray Signed-off-by: Fabrice Gasnier --- Changes in v4: - Add William's Reviewed-by tag --- drivers/counter/stm32-timer-cnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/counter/stm32-timer-cnt.c b/drivers/counter/stm32-timer-cnt.c index 36d812ddf162..668e9d1061d3 100644 --- a/drivers/counter/stm32-timer-cnt.c +++ b/drivers/counter/stm32-timer-cnt.c @@ -302,7 +302,7 @@ static struct counter_synapse stm32_count_synapses[] = { static struct counter_count stm32_counts = { .id = 0, - .name = "Channel 1 Count", + .name = "STM32 Timer Counter", .functions_list = stm32_count_functions, .num_functions = ARRAY_SIZE(stm32_count_functions), .synapses = stm32_count_synapses,