From patchwork Tue Feb 27 22:12:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahar Avidar X-Patchwork-Id: 207471 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2994118dyb; Tue, 27 Feb 2024 14:13:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVT7VN8Cwh5b5fAEghrcqHXlvsbC4nTrjggReHiIMeGP07s7RzkX7Ssfuft4Y0YRJLsK1ag/Tf9aNpDQCmnsWwSGjYwQ== X-Google-Smtp-Source: AGHT+IEl9/GyhGwps0lixw4+jgAzw0cOwGeaASMqI34G69OkGg+aDReWzz5NWIbEZFDy9q2APPcb X-Received: by 2002:aa7:c84d:0:b0:565:ff41:faca with SMTP id g13-20020aa7c84d000000b00565ff41facamr5037062edt.16.1709072009307; Tue, 27 Feb 2024 14:13:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709072009; cv=pass; d=google.com; s=arc-20160816; b=ZOllpjdV5scZ4a33WkD4OL3102m/4tnoxFYcHawVN1J7FLXBcl6DP/Vs8UizpbH8xw 0YRszu07p9YmqetEPSebv6dUJWiGVTAKfOJazO1MLo19/15Sr2pWhpYkJuEI3d+z2vCN LQ64s/xywMubxR7oN3SzH+25ZFFdDEhw9UjpBR0ItcdM7nfVwLvW7Wy9tzqFBJ4a7Gud 93ycwSE+VY/rNnV08gFglTXWVY0svvFqBFQZaRq2q70zPX5wlA0VNDjnJyYpJoWd246k swzCHOhYCcbb/yYWC9I8WnBwBryfLi5xzOeRTMXkUimWogW08mAmZRetd8/aVucGvpaK 2rsw== 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=7Ahqsv6gOyMACRg/0NA4F3TAuiEZ+oz6aihxiy2L38w=; fh=Dofkr+00YRsh/U2b3NjCrOWII+FA49bz9SUovdSPzuY=; b=wAt0AjudxaPcUibadldjGzpB/MkYOGDp8+RwRWOxbwqPx4yBam/6oYHLXLujjIrrnu ticGNL4WOaOW5QIq6nC6qDXyTLk8Y3gADJpDiv4mbWcgacqhiG18YC3mABxeGoO39yte HhWEMbg84XAzl42rcaSuGiHs6kXLsJqxy+A+Cvz3fWw4fArVWMZwTae/wGfSvNuCGH+q XohdJK+NmMdmzZTlvqxsnEnqWcVEsQzUAofM0F/gcs4005lwLWpYCqnLGY1ZrHD2SReS +OwyimaeQ3bjlTv3dyYH89axnTWtMFqh/DXPcMm+7xDgyu4FYZs+CBWYfWipA86UgKSu k8GQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aq7HRZNO; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84108-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84108-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c6-20020a509f86000000b005642c002cbfsi1055689edf.22.2024.02.27.14.13.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:13:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84108-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aq7HRZNO; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84108-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84108-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id E429A1F22B01 for ; Tue, 27 Feb 2024 22:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A534B1586C0; Tue, 27 Feb 2024 22:12:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aq7HRZNO" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95BB314A4C1 for ; Tue, 27 Feb 2024 22:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071931; cv=none; b=ms+fKiz06Wj0FrwTJ2MaMFpfOLF6D9jAJzV781k2AM/1K7b+MgmQsCvS9Z9fXwrwNeUOnSVSCObcmSdlFqdNkOYua4gGBO5SPNvm6XCk2iAP6HsAOALgaMlKjs8t/oxLc0O9BJv+tywZVqXMbkhWvoruk4ezyHTLG13x7uI5Wh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071931; c=relaxed/simple; bh=+2njOV5Ga0IzlzN0XUiI1XPr4AZxQTAQfakyMWn49qo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LA842CeRVOx2UH6Yckgfa3PKriBnp6n4nY1wfxGJ+IK4/euWubpK9AIfPxiULjtCOznyIvCxv7FaeOS760Jw1GutQV0nRKMQ3DavyhHx6sjdFIy1AD9zUoZxfInqRXUsu4nqr5LAzq+fIY5bbiSBuPsWfX7nrLy5DGGHFoN0Mtc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aq7HRZNO; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33dcd8dec88so1943818f8f.1 for ; Tue, 27 Feb 2024 14:12:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071928; x=1709676728; darn=vger.kernel.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=7Ahqsv6gOyMACRg/0NA4F3TAuiEZ+oz6aihxiy2L38w=; b=aq7HRZNOY+gXU7Gh0C8ug6tYzWVl7pmIpvNFOw92LzEVr8Q2iMfiRQrgCC+JhLh9+u zcgc6+1drFmPIJX00Lr03cqhO4RMCCqXl05FI1P88ODWlpsp+XKLMsph6hKXEsWDEJBh Jky2pab5f+O+ze9w/XQZvTfqoJ9NoA5OUD4DDuNI81v91KcXYG2C5iDZ6w4QPilbTjH0 k0cDvIeGJ4NAy5qKXE/y1WRfGBNv4ES1GB8zzBcATrlvy3lRXK+HCwbVVozPfcj79aMJ ozAK0sRXFoQpIl14D8ROeHbUXFJDfSz7+oJAStXd7RwIW7pRYAQCnMSpzmB6vP7Rk1gY dHFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071928; x=1709676728; 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=7Ahqsv6gOyMACRg/0NA4F3TAuiEZ+oz6aihxiy2L38w=; b=t9vOER2G5Vj/tjP2LLCLZ0eYuixvFkgHxiJp5bvpFAsA7467bW79GS/8z6qx1kkJ2M rm6qSgQBS1nxFTv+ZQsTBKmyJzNV4hYFLdFgEikzgV2FtMD/l+0iYrv+kgDrjGwty/9S cIYWq0h5kxX1nGKMN4UUzaH2rwM3WEe6+cGS50BxFJp/45JDL5IJLG295gkDJ3MBsXc0 mZ14RZ5JsfyyC13t1BxtNpujqXnIHnxtyzGZeO1QxvEemqEIG2tnMrh1hSkhMacNR/An timBb1vC1Zmsquvlqa+2ZceDAXgjiDK7AHHLC+fto50lYiHqE6uMc2dUqB4im0psuvZr rMhw== X-Forwarded-Encrypted: i=1; AJvYcCV1H36XPVp0ULpVz0bPAA/MwLSG8SzejdUetb92oO7Z/QDFMIeDPonrYGd6s7yOoGm9nPEPHhpNfCbbRKdsezNdkXuXvxp1GwSqt61e X-Gm-Message-State: AOJu0Yy30aF/sPxFCdQmacDgvnuR17BFfSGSdZ5DZCond+65OhEwAWY4 vXVh8+cv6SnujWQ+/sUp+dc8tW3eVZSm4WI8QDL1ntGGLQEdX2SM X-Received: by 2002:a05:6000:543:b0:33d:1cc1:bb08 with SMTP id b3-20020a056000054300b0033d1cc1bb08mr7903187wrf.22.1709071928001; Tue, 27 Feb 2024 14:12:08 -0800 (PST) Received: from YOGA.local ([2a06:c701:736b:f200:73a5:2235:8954:9b7c]) by smtp.gmail.com with ESMTPSA id o8-20020a056000010800b0033d202abf01sm12415560wrx.28.2024.02.27.14.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:12:07 -0800 (PST) From: Shahar Avidar To: gregkh@linuxfoundation.org, luca.ceresoli@bootlin.com, benjamin.tissoires@redhat.com, elder@linaro.org, andriy.shevchenko@linux.intel.com, robh@kernel.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] staging: pi433: Remove a duplicated FIFO_SIZE define Date: Wed, 28 Feb 2024 00:12:00 +0200 Message-Id: <20240227221204.534131-2-ikobh7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227221204.534131-1-ikobh7@gmail.com> References: <20240227221204.534131-1-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792091891570189108 X-GMAIL-MSGID: 1792091891570189108 FIFO_SIZE is being used in both rf69.c & pi433_if.c source files. It is also already defined in rf69.h header file. Signed-off-by: Shahar Avidar --- drivers/staging/pi433/rf69.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 8c7fab6a46bb..b3b8d1abd3eb 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -13,7 +13,6 @@ #include "rf69_registers.h" #define F_OSC 32000000 /* in Hz */ -#define FIFO_SIZE 66 /* in byte */ /*-------------------------------------------------------------------------*/ From patchwork Tue Feb 27 22:12:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahar Avidar X-Patchwork-Id: 207488 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3009423dyb; Tue, 27 Feb 2024 14:55:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW6XWiNjtoGbGEC/5yg/6Ex4sE9d9MrSr7L6C90EpnvNtU+NPGEdWcH0A1g5RJvd/kTrFSQXuz0GzF8CR0QpAuQp9Ys0w== X-Google-Smtp-Source: AGHT+IE8QfQt4+GFWT0PAq0hLt0Wtjjn/9LNyDPMPBKcRgA/GXN/fDx7O5MqvAw3vI4430U+yXn4 X-Received: by 2002:a17:902:cf0d:b0:1dc:affd:6510 with SMTP id i13-20020a170902cf0d00b001dcaffd6510mr6347473plg.49.1709074547368; Tue, 27 Feb 2024 14:55:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709074547; cv=pass; d=google.com; s=arc-20160816; b=OnLJ/tfFOrtkiSBmHSjeIHN8Tr6/KaKqm5Vfi5k9Y0NkHY7/47zulQZg/Arp0sTR1d wn/dnfVDd/h0CFvsRK5YH9wml+DvYviWmgo/a6cYnfLh3mBBjk37rBZaitRip1zX5/s2 YeKvXuZ7AG3CxN3LXVnJ+KupJGbg3P+Nu9BTFvaTMmrbKDTJFPaB/lVok8hZbRUTt4uL ESpTmu/nlIEcdJzWkPK2ORUhvSX+ufo/JDPCRVs4KzNGSPxMf9cinVzLOU02TtdpLVdt fz/OT6YUe0A3K0LFYnP1J75Ql+KRYhzw0xRv+GmDlmpNqV9NeOjYm+xKictCjDXOMXS+ v30A== 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=ByFJ4T1AQt6fR81lqN9Fb0sA+BvqHSN66dpmEs3Guqc=; fh=+ciGMYH6SCwQmW+EWKadcKhinwPVO1LN8z0/KkkKgI4=; b=IWijVHejIlW09sDPLDzwpuZuFApdl7HUBf4wIY4KfnXA9MEsINO8mN1gnBUn/LH307 twftUUHeYpGoq9rXXCOBb+QNVC7/XioFzcrTbjVjOD5BB+5208NB8clWI0LAKFpGnpjj PlIdFGvAQnTrVrA4FSRkW+4dMjZhfDEqZHuCQf37Jm9BNcS0j+pX+4h75yS5X6HglPA9 BcMvXA3vmTKffLRviykKUnFDji9aKuOwVOK83BzyUSIoLig0RMQV7L6Atw5hbybdKpOp mR5isnvUM5xP1d99dxE4F/MIEO4qY6dINkLi/3dmklgZKjj6DgOZnCT763m9I6W2UB9+ crHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FUYXUvVc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84109-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84109-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l12-20020a170903120c00b001dc2115dca4si2096297plh.225.2024.02.27.14.55.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:55:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84109-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FUYXUvVc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84109-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84109-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F440B30B92 for ; Tue, 27 Feb 2024 22:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 229A3158D62; Tue, 27 Feb 2024 22:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FUYXUvVc" Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E18FE155307 for ; Tue, 27 Feb 2024 22:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071932; cv=none; b=h3P5xSWq0ovhVDSBGEJvPUU6dzs/4BYg0bEWxSkvopWboisbRs1dF/lvLoBE3WWzR3dh2bR1GadcVJQb+MHwjZCvfC4UsS6zGhMsjMrjhQTsAlRotXph9jsDKcPN5yPMrkg1y2cjIXsPA1IR7WR8z2TI+PrrNcLaebDWWI0nPcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071932; c=relaxed/simple; bh=fmnSLnIUWlgp5ur85n+HDFL+jupuhUG/KRlYbWXGjS4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gujgkEbEvDQ2u13Zrw91SwBFCU5x4fBhPdqGl+prd0Ld9lxM4uy34wMa/5QRmLeANbdBs6gEymhd3tH80cOe0KaJgWNcNP9NjDYuqT6XY09KgGII726vkPsIvArbSyNvrXjst1sdaCuS5OJmQYMDuQ1Totdli+xTjV9+Hu2xDhY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FUYXUvVc; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-33d28468666so4164426f8f.0 for ; Tue, 27 Feb 2024 14:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071929; x=1709676729; darn=vger.kernel.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=ByFJ4T1AQt6fR81lqN9Fb0sA+BvqHSN66dpmEs3Guqc=; b=FUYXUvVcnS66yLrxP40xhUuj4OximJ+foG2+xa80LQ3wtHty+kF3nJLaNPVg3oi2XR EFj6rGZPmGT1GRfNf3+fxsVw1Yi5hNNbmm4troMqoANNx+PN3J0TpJX1BQ3LExu0nv74 UrqRWQkyhDDKJDC3Zs2VV0bpz4HAJ8Tw7RADjVKb3jLyU5LHVm+j7XzLepZwyHURZLyB rpUckKjpmwYE4QLRyvGl0E7eqlCGsXAx7kwfICE7dPTRl3+PhG1F0ggeBOsvzpam4Qqf WHoqa3t1L6lWB8IbxhFJnH5kuipYUpHEg0RTsDW90HwXdj4ZzOYT+RZYJd7USUAwN5km RHZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071929; x=1709676729; 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=ByFJ4T1AQt6fR81lqN9Fb0sA+BvqHSN66dpmEs3Guqc=; b=tZzrysozlHf2CJu95jo/jcskBflhQheloyajPMlaZWI9BY2XKli5LU1uv2Bfel1DyY nqUoKBtqqR2rScNr+DesunPP0JDDjMTmVb5dbzm6zMPrUspPqek/Nf9tvg46j0GYoWYf Vdar3BUModa7UdlpBW9VZ2YiAb60JmB98TBYo1UiLYE467AqI7+FIyEQUCs99uBYy0uB Jk/gdzUEXuRjSTJN5R87wbAqnyJkdic9QXW43O/lDKRQuowsWf25EfYUYSyJimolFIYr ovVoAv+WjvcpUm/l5kg5sL7oST8/z74Fph+S6p4itxZupvYLZRjir2Ff51fPL89d0rOR 90Ug== X-Forwarded-Encrypted: i=1; AJvYcCVKwuCVeLNZr/gfR+znHXv0y/cQWDqpkOhB5/Aa7rXm58zb2pTCNgorSdeicV+K5hR7ROWCcv6daftlXtR1KvU7J9YLMOXeKcCCDaLA X-Gm-Message-State: AOJu0Yztc7RwoFXWfV2Hj0XRz6CcOrKY7lZu4P+enOkpJeusussfSY1u dhwavN1xbl8pcdgdkT/dkW/R6yLlZsThiV5SawRlmS/02O4FCngzpgLsK5aF X-Received: by 2002:adf:c6c8:0:b0:33d:f3c5:c793 with SMTP id c8-20020adfc6c8000000b0033df3c5c793mr1801355wrh.16.1709071929418; Tue, 27 Feb 2024 14:12:09 -0800 (PST) Received: from YOGA.local ([2a06:c701:736b:f200:73a5:2235:8954:9b7c]) by smtp.gmail.com with ESMTPSA id o8-20020a056000010800b0033d202abf01sm12415560wrx.28.2024.02.27.14.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:12:08 -0800 (PST) From: Shahar Avidar To: gregkh@linuxfoundation.org, luca.ceresoli@bootlin.com, benjamin.tissoires@redhat.com, elder@linaro.org, andriy.shevchenko@linux.intel.com, robh@kernel.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] staging: pi433: Remove a duplicated F_OSC define Date: Wed, 28 Feb 2024 00:12:01 +0200 Message-Id: <20240227221204.534131-3-ikobh7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227221204.534131-1-ikobh7@gmail.com> References: <20240227221204.534131-1-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792094552682575444 X-GMAIL-MSGID: 1792094552682575444 F_OSC is already defined & only used by rf69.c source file. Signed-off-by: Shahar Avidar --- drivers/staging/pi433/rf69.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 78fa0b8bab8b..52e43a909b03 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -12,7 +12,6 @@ #include "rf69_registers.h" /* NOTE: Modifying FREQUENCY value impacts CE certification */ -#define F_OSC 32000000 /* Hz */ #define FREQUENCY 433920000 /* Hz */ #define FIFO_SIZE 66 /* bytes */ #define FIFO_THRESHOLD 15 /* bytes */ From patchwork Tue Feb 27 22:12:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahar Avidar X-Patchwork-Id: 207472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2994344dyb; Tue, 27 Feb 2024 14:14:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV3bAODM+GkmXBJjZR0DapyfEG1+86fI1FKy/m+581Sh4xaMU9kmeSHRELEa+It+PVI9efa/6NODq/8M/S1zYdOvM3rcw== X-Google-Smtp-Source: AGHT+IFIEo66w+hBdqdXHHNyGU16QBWnsp1S7nhVdd+EWtSvHv4L/wcqyqalAcM3FYm1YAcjQ703 X-Received: by 2002:a17:90a:9918:b0:298:b25d:127c with SMTP id b24-20020a17090a991800b00298b25d127cmr836458pjp.23.1709072042350; Tue, 27 Feb 2024 14:14:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709072042; cv=pass; d=google.com; s=arc-20160816; b=InZOwyU9kR9kFUHVb4TL5mZJrR1Yq4sKkDZvgWML9DCZxxTLtUEJdQCR78n3IDxUr3 f2vlOnVYjFMvgwOKUA8UP6UCZiEcPBPNjxS1NpnZEOST9O/uzYwLzMypsfn94oPE5I/H oTu9E388i35wUgFMn/n5+sXw93WLz0368DZW2NDmRsNyh+X00mt7yrPDN7ABcGg7jihn RJI/tIUuUNz3wapCk8hXHYWlr+8xDCbEkz4BYLOfBC2xj8il549BwFZbE0Qpve6y0D9l 1zVr7u2du7G15X1Mab6XPR1AZ1ffs4iU47468Zs5lPFxV6yfqzd5mGHqtALUdzY1MifB O1FQ== 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=ieLYzymPNePmb67aE/EpZNATNNR4k3uKBe/0iiseYBc=; fh=P8gZVymONrRjL+OkqFHfMa8qF9zHn2Xf0nlXsEHv1FY=; b=ZunndzYXvOK1nbglCBJhkOWy4kxKy1S1ix2sxk+tzcYvhWO2HSCORQLhAIcVU2UUDu IB5vGeyySFWDtkheUDhsBR/7qnWgO45ZBKaFvyKJFzEXV2GMDzivkwkfBBqmpxbW8tXG Ruv6Z6Jrv4sjFopArR1e5sDkeVbppFZoEePgAypJx9dDkW+xYNRv62Uot9uFBVXjFb4p EYduPL49mt/BYUlcbrQA5yHzftl+nMWKFEdEjIPiOrROauXsKndDGUFxp65cCbk/QXlQ StXzzHdvEiMNlML9hdpYekzl8tqHqlOIg0F6iqKpkATOBLaTuIwrwnzKU/PtyHvB7s4x MllQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fx4adh4P; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84110-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84110-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ft4-20020a17090b0f8400b0029a08cabff3si55418pjb.157.2024.02.27.14.14.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:14:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84110-ouuuleilei=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=@gmail.com header.s=20230601 header.b=fx4adh4P; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84110-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84110-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 2E4FC2883E9 for ; Tue, 27 Feb 2024 22:14:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86890159578; Tue, 27 Feb 2024 22:12:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fx4adh4P" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51BB0156985 for ; Tue, 27 Feb 2024 22:12:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071933; cv=none; b=Eqjhus6f4PUid+Q11g3S/iqz2W1xmQC+w+oJPb8JuO+mqBBC92x/QCVSD3rPJhp7J+gkaAcGHsFmz/bzVZ6Zd+1c4+qIwMn4WUmZqMSFUGfc+uGc79TimXbZc433A4WtcEP1L6LNl0vjKE596hOojZE2fCIEMtoUwr2WxWD46g4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071933; c=relaxed/simple; bh=sD4PGbM5HqA6toI1/CAMqbYx9lSjxRaalfZB/ur59io=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QXvDmZh2HntlLmTlQ0bTYoEN3e4JFBZBLgbf7cZIMwkAstmOJEvZ2uzIlziN5CZygwncD4I4vEgyjIXMamEoZlJFYW1ADQ8XgvnVUlt3ko7j+gaps8dWo2NnO1ksPmPTw8X9TbvVi5dbFhsdYEN6Pu+tqQ2Y7TcTK5cUDIXCxZA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fx4adh4P; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33de64c91abso1153291f8f.1 for ; Tue, 27 Feb 2024 14:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071931; x=1709676731; darn=vger.kernel.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=ieLYzymPNePmb67aE/EpZNATNNR4k3uKBe/0iiseYBc=; b=fx4adh4PMuXxZbTp7GOABfUjBc8f1iP0i671dDajCHtEduTgPpxy63uXv+0Uq8O2Uq PxU/5gvN64nPDHiX/gRcvlnIByqW7rIh7Ygp9HvG+fMBD5bVezbm4B//+zR7uBBQN2hD +SEhFApq4qO06bBoNMiqt+6QTKUmGVaT0lTaHDYQm3yttGkHoUq+UUoheE4MAz2zxgCd us+Z//9o6EfIfme+ozAglCmUmpA4wRg5JOhSNhv0VpyN0sNHSshpTbx46+hbrCwr7V3N By4I7NKIGZrwT95kkQcS5meC9hQeDIi5S/Ov/woyvtBehfLwyLFM9lPviKW4Rm9Yjyo7 WUmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071931; x=1709676731; 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=ieLYzymPNePmb67aE/EpZNATNNR4k3uKBe/0iiseYBc=; b=NICwecP8GPZyF6ZAR16HEj+nfy8fyXSEZ8dpzGvHc2WtBM+eLeR/s401gGPiCN2jnN 3mjqElfiyIKagy4FbVdKtP/sV1LwdCnTmA4UOi/CbihR+gRO6LjByXKwmByR4TtWpRvL kL9SEPwIWr8twUz/WJybi3JvDjNp9hwbgca981lP8f0hMlnOibQmcrlTVUD+wznA4QzR k3QpyOy/UV8H2lKoKcEUM9Q8Xr31TUDbLsRqKbdhhz301J8xlBHU197ehMOmepKA+3Pc BIcU6pRkmhSVsDiy404KNBFsVywvKq8jTj2Jtiq00m9JUY4/NskHYUrBfSt8kSayzF20 j1tA== X-Forwarded-Encrypted: i=1; AJvYcCXSy5rg974ZhBDO/3OvzFa0fFjJkxNwiQlcguqtfyyiqNvdl7SZyPL8chWrleo98cDkIyUFy/ci/m4uH0iVpBs/TK5JlfB/GL9KKq8d X-Gm-Message-State: AOJu0Yw3hjl1sm49RYS8jsgibpp7Y8/PytiNGsAvINxDQ5VOY2nZcYoL xkSam1cdeBUybhFBylbhg9qyAGT5oWLT+7/e709CYCiNi2LFFioD X-Received: by 2002:a05:6000:1:b0:33d:3099:e67b with SMTP id h1-20020a056000000100b0033d3099e67bmr8504809wrx.63.1709071930805; Tue, 27 Feb 2024 14:12:10 -0800 (PST) Received: from YOGA.local ([2a06:c701:736b:f200:73a5:2235:8954:9b7c]) by smtp.gmail.com with ESMTPSA id o8-20020a056000010800b0033d202abf01sm12415560wrx.28.2024.02.27.14.12.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:12:10 -0800 (PST) From: Shahar Avidar To: gregkh@linuxfoundation.org, luca.ceresoli@bootlin.com, benjamin.tissoires@redhat.com, elder@linaro.org, andriy.shevchenko@linux.intel.com, robh@kernel.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] staging: pi433: Redefine F_OSC using units.h macro Date: Wed, 28 Feb 2024 00:12:02 +0200 Message-Id: <20240227221204.534131-4-ikobh7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227221204.534131-1-ikobh7@gmail.com> References: <20240227221204.534131-1-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792091925995535754 X-GMAIL-MSGID: 1792091925995535754 Use HZ_PER_MHZ for a more robust definition. Suggested-by: Andy Shevchenko Signed-off-by: Shahar Avidar --- drivers/staging/pi433/rf69.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index b3b8d1abd3eb..5a1c362badb6 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -8,11 +8,12 @@ #include #include +#include #include "rf69.h" #include "rf69_registers.h" -#define F_OSC 32000000 /* in Hz */ +#define F_OSC (32 * HZ_PER_MHZ) /*-------------------------------------------------------------------------*/ From patchwork Tue Feb 27 22:12:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahar Avidar X-Patchwork-Id: 207473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2994452dyb; Tue, 27 Feb 2024 14:14:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXaOWNlPleVkO7NzD+az/oWQHMjEOTM1JY93Xn7Wein/0mOCt/6YBUIGXKWsmbP1HGK+q5QPBSNEF3mo4eETbIFaiewCA== X-Google-Smtp-Source: AGHT+IGOa9YP9gPzppIrB+aRkomlWwf+A3hOR9qptSQ1CZvtRPIhJQH9woBCnll3G0lynX5YRkVw X-Received: by 2002:a05:6402:3483:b0:566:5897:b3ba with SMTP id v3-20020a056402348300b005665897b3bamr1253245edc.3.1709072058271; Tue, 27 Feb 2024 14:14:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709072058; cv=pass; d=google.com; s=arc-20160816; b=tKwzU4r/mcIeqAUyyiPO1XCs/1H1ZAk8B+80eC43mAUgdEKv7D59IsPPQ8q8Vh8ISs 6sVjw8i7h0GitqwRdB9YXY3YgPTsC+O3MLSLiji2fUmy75CQwIrO6wjhy7yEqS9a+G8Y 4u42nsfltH1Cq8c8cKydMh+VmE8MFJxJM0iNSJgRF1qexhfFPaBQQxzrAv1AeyYNNOKO UPWjPyLAYl5+YWyDfJtCvwGWV9DKcET8cP0nwquGRe/NUDLDzvKGrGqTU3scU8Mt8Tn0 7t12HG4D5aBe/adNDIoqen0mVfmgH50D9+vh7hvoU0eFw0/kFIdAKIAbsYr72aSMxune HAmQ== 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=56OYpxv+7Sg0fmYSpVc7Gnw4S4WJ/wpnYoYBTxSpZBc=; fh=Oc1ZVPSgPSzaJM7kEL+l6/Muy3G+zgihBbo+i830Wqo=; b=kJAXfQeCunBtj7+PoiJ+AgzwSRdx4jOWgPMUA3gWRpZmTNXzc8O3HRcVYz8UQPPjve pNQdR/qPURbo2Wcm3pKcT/BkX6gXEbU8e3i+eLzHunF5A/YQ4O8nRySZly7ltoUgyVKO DapsjfnLwggpbKcBtKsUgiJDkftdynsU23FN7A4i1jEytXyRaAkBZlm/2lZx6P5PXtlt ekV82B8AO69vneAdCewRVFI+kEKSz2/CrEw4kHgGyAV6gCDfrvudkTpb1IrlaMxKKiuY ffAyBtxlhvKSmv7H3H23Q79/Fs/k49v7pV81LYPz8BVKqq7pcmx1WkQCSA8MWWgGsFgV stFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a23d3tvX; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84111-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84111-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d21-20020a50f695000000b00565aefa1e0fsi1088334edn.515.2024.02.27.14.14.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84111-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a23d3tvX; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84111-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84111-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id E01521F218BE for ; Tue, 27 Feb 2024 22:14:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF359159593; Tue, 27 Feb 2024 22:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="a23d3tvX" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8C911586C5 for ; Tue, 27 Feb 2024 22:12:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071935; cv=none; b=qjsDdvGMUp4iVzRbWVmdxV8vX0OHhuvXv4iSte9iOBimbngoY7DD1I6REPYKUNqJOaK7IT7xaNbS4QZeZ2AQmkX2aj0In5MMe1kIPyVAP76aO+oZLp29RHnwB6gK979ZVtjzrTanTIWejdeRFgmVFmYCy9Wfth44m+wHb8Lq0Ac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071935; c=relaxed/simple; bh=ZLpd/FTiTFzHnfpWMzTXSPkcqYPvkCAzdFD9LpcTNSI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jFmRRH9x4T19TYq5mv2IU0/B4Im5pEQY0SKhLDV8/O7jQmz0v4UkVGQwH2MtWJV/E3To1k5Y3b4KVK9TBfMf762sSF/ZesEcnCl+tbV+HrSDirK3rqtqkhuQNbwb2MvmmrnCLaA+nDAJh5s6ZJzdKJm0GUB/mb8Y129PJE9md/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=a23d3tvX; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-412a9ea61adso12487925e9.0 for ; Tue, 27 Feb 2024 14:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071932; x=1709676732; darn=vger.kernel.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=56OYpxv+7Sg0fmYSpVc7Gnw4S4WJ/wpnYoYBTxSpZBc=; b=a23d3tvX+WXugkF0gXPrw5DisvbKlwUzb/eh2xOI5gYizgy6O3a2hy1DixPQBehT38 nwVhxfy4wGE6JQlj5G13DHli0c3RN7+WthL3OIdH3J/2DXw4eRjb2Kp90g/P5Rm9cT5C ym1mJRfNuBZ4cnLjqSutWyMDRnuBZPmJYLJa2H5IbjrtWMddDND0Z2AQrVekzlI5cKWP bDZwp2XFvtWgApI2EPP3QBgU3tSOT/m00ZwkE3vpDon5aQEuMwE9xObVlU4BaLU6xcer gaRpmk3oW54++AFzVvPdDkJGwLMzfGxuX8ZO+X+RulNBxxFCYGjbqgRwjVfrX6yLkKPC t5UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071932; x=1709676732; 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=56OYpxv+7Sg0fmYSpVc7Gnw4S4WJ/wpnYoYBTxSpZBc=; b=YgZEme4GH0mS7nOKVB4KQ9fbthu13hMKM37vVpFFGkx1RHoirCt4YO1R33WHfgmLXN lyKD4r5g3sfZ/mgJdb9bf2zHsSygvTYDTWBBlPiophRIAHBSUBDKz8HuhXhuyoEYteV+ S8LQ2vSBaqiS7964YCq07yRU6jxJ9OIp7pnk0HMG8UZ81B04pZtOKty0QAHF5sEDg4Vr KCfFXFrYyxtwD1eSBqtR6W1fT9fJ/BO6h0N1Ac8X6AS8WiT0lcltt9BpYFxrVfn6KS4F W/kiXmbWluqwj6f3jfjrTeO6UcntCFasiShSzif5UMQuQANM9/xsYmYe/p1KKij3xUPR 5eeA== X-Forwarded-Encrypted: i=1; AJvYcCU4nNfsWDysGTfu9ziTx7OLroNT+T5UnQtwZzjJeBBegn+stiyUib8DvcrHzsDas5SzlucxGp+qeC/C4ipaK0tSYvMNQuk8iigPmEbq X-Gm-Message-State: AOJu0YwW6/X/yKTMCUvflK1no5/zxX9m2NoYn18Y2d5Ztt4rYvyuWXie 2tOgRg3hXDTtF9gJbrYwXrUhVeib1Q8XyiLNacDIM6dsWxqvkyuE X-Received: by 2002:a05:600c:4e91:b0:412:a04f:7f5 with SMTP id f17-20020a05600c4e9100b00412a04f07f5mr6186950wmq.16.1709071932249; Tue, 27 Feb 2024 14:12:12 -0800 (PST) Received: from YOGA.local ([2a06:c701:736b:f200:73a5:2235:8954:9b7c]) by smtp.gmail.com with ESMTPSA id o8-20020a056000010800b0033d202abf01sm12415560wrx.28.2024.02.27.14.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:12:11 -0800 (PST) From: Shahar Avidar To: gregkh@linuxfoundation.org, luca.ceresoli@bootlin.com, benjamin.tissoires@redhat.com, elder@linaro.org, andriy.shevchenko@linux.intel.com, robh@kernel.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] staging: pi433: Remove the unused FREQUENCY define Date: Wed, 28 Feb 2024 00:12:03 +0200 Message-Id: <20240227221204.534131-5-ikobh7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227221204.534131-1-ikobh7@gmail.com> References: <20240227221204.534131-1-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792091942240169624 X-GMAIL-MSGID: 1792091942240169624 FREQUENCY is not being used, delete its comment. Signed-off-by: Shahar Avidar --- drivers/staging/pi433/rf69.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 52e43a909b03..e63e87fd6cce 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -11,8 +11,6 @@ #include "rf69_enum.h" #include "rf69_registers.h" -/* NOTE: Modifying FREQUENCY value impacts CE certification */ -#define FREQUENCY 433920000 /* Hz */ #define FIFO_SIZE 66 /* bytes */ #define FIFO_THRESHOLD 15 /* bytes */