[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240225173341.1278918-2-ikobh7@gmail.com>
Date: Sun, 25 Feb 2024 19:33:38 +0200
From: Shahar Avidar <ikobh7@...il.com>
To: gregkh@...uxfoundation.org,
luca.ceresoli@...tlin.com,
benjamin.tissoires@...hat.com,
elder@...aro.org,
andriy.shevchenko@...ux.intel.com,
robh@...nel.org
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/4] staging: pi433: Remove a duplicated F_OSC define
F_OSC is already defined & only used by rf69.c source file
Also fix define comment
Signed-off-by: Shahar Avidar <ikobh7@...il.com>
---
drivers/staging/pi433/rf69.c | 2 +-
drivers/staging/pi433/rf69.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c
index 8c7fab6a46bb..d7e2dbe70d7c 100644
--- a/drivers/staging/pi433/rf69.c
+++ b/drivers/staging/pi433/rf69.c
@@ -12,7 +12,7 @@
#include "rf69.h"
#include "rf69_registers.h"
-#define F_OSC 32000000 /* in Hz */
+#define F_OSC 32000000 /* Hz */
#define FIFO_SIZE 66 /* in byte */
/*-------------------------------------------------------------------------*/
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 */
--
2.34.1
Powered by blists - more mailing lists